Skip to content

Commit

Permalink
Changed ESLint from test to pretest
Browse files Browse the repository at this point in the history
This commit changes the former `test` script in /package.json to a `pretest` script. It also adds the `--ignore-path .gitignore` parameter to ensure that dependencies and other files ignored by VCS are also ignored by ESLint.
  • Loading branch information
ZelnickB committed Aug 10, 2020
1 parent acaf266 commit f6f3524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"description": "An easy-to-configure, open-source Node.js web server",
"scripts": {
"test": "npx eslint ./"
"pretest": "npx eslint --ignore-path .gitignore ./"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f6f3524

Please sign in to comment.