Using gitignore for eslint

This commit is contained in:
Jeff Avallone 2018-02-10 18:31:16 -05:00
parent 3e729b2a34
commit ef4259908c
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +0,0 @@
build/
node_modules/

View File

@ -15,7 +15,7 @@
"start:http-server": "http-server ./build", "start:http-server": "http-server ./build",
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
"test": "jest", "test": "jest",
"test:lint": "eslint .", "test:lint": "eslint --ignore-path .gitignore .",
"precommit": "run-s test:lint" "precommit": "run-s test:lint"
}, },
"jest": { "jest": {