1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-03-14 23:59:43 +01:00

inlet.js used only for color picker

This commit is contained in:
Gaurav Nanda 2017-10-22 20:36:04 +05:30
parent a84ec4e8ca
commit 91f8df92f9
4 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.sass-cache
node_modules/
*.map
.idea/
.DS_Store

View File

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

View File

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

File diff suppressed because one or more lines are too long