1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-19 13:01:12 +02:00

Merge pull request #221 from gauravmuk/inlets-fix

inlet.js used only for color picker & dev cleanup
This commit is contained in:
Kushagra Gour
2017-10-24 00:59:32 +05:30
committed by GitHub
4 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@@ -5,7 +5,7 @@
.idea/ .idea/
*.iml *.iml
### Dependencies ### ### Misc ###
node_modules/ node_modules/
*.map *.map
.sass-cache .sass-cache

View File

@@ -11,7 +11,7 @@ jsfiles=$(git diff --staged --name-only --diff-filter=ACM | grep '\.js$')
[ -z "$jsfiles" ] && exit 0 [ -z "$jsfiles" ] && exit 0
# ESLINT CHECK # ESLINT CHECK
eslintresult=$(./node_modules/.bin/eslint --color $jsfiles) eslintresult=$(./node_modules/.bin/eslint --ignore-pattern '/src/lib/*' --color $jsfiles --quiet)
if [[ $eslintresult != "" ]]; then if [[ $eslintresult != "" ]]; then
echo "$eslintresult" echo "$eslintresult"

View File

@@ -10,7 +10,7 @@
"prettier": "^1.5.2" "prettier": "^1.5.2"
}, },
"scripts": { "scripts": {
"install": "ln -s ../../git-hooks/pre-commit .git/hooks/pre-commit" "install": "ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

File diff suppressed because one or more lines are too long