Skip to content

Commit

Permalink
refactor: Change lint script
Browse files Browse the repository at this point in the history
Point eslint to `gitignore` with `ignore-path`
  • Loading branch information
YogliB committed Feb 10, 2020
1 parent 4fe3594 commit 8443848
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.DS_Store
node_modules
.tmp
/index.js*
/bin.js*
/dist
dist
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"degit": "bin.js"
},
"scripts": {
"lint": "eslint .",
"lint": "eslint --color --ignore-path .gitignore .",
"dev": "npm run build -- --watch",
"build": "rollup -c",
"test": "mocha",
Expand Down

0 comments on commit 8443848

Please sign in to comment.