Skip to content

Instantly share code, notes, and snippets.

View Luidog's full-sized avatar

Lui de la Parra Luidog

View GitHub Profile
@Luidog
Luidog / .gitignore
Created October 19, 2019 01:47 — forked from iffy/.gitignore
Example using electron-updater with `generic` provider.
node_modules
dist/
yarn.lock
wwwroot
@Luidog
Luidog / pre-commit-eslint
Created February 25, 2018 21:38 — forked from linhmtran168/pre-commit-eslint
Pre-commit hook to check for Javascript using ESLint
#!/bin/sh
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".jsx\{0,1\}$")
if [[ "$STAGED_FILES" = "" ]]; then
exit 0
fi
PASS=true