1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-06 13:26:36 +02: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

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"