Skip to content

Commit dca9b9a

Browse files
committed
build: use eslint --cache option
1 parent 9211c2c commit dca9b9a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ coverage
22
.nyc_output
33
node_modules
44
lib
5+
.eslintcache

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "my personal ES2015 library project skeleton",
55
"main": "lib/index.js",
66
"scripts": {
7-
"lint": "eslint src test",
8-
"lint:fix": "eslint --fix src test",
9-
"lint:watch": "esw --watch src test",
7+
"lint": "eslint src test --cache",
8+
"lint:fix": "eslint --fix src test --cache",
9+
"lint:watch": "esw --watch src test --cache",
1010
"flow": "flow",
1111
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
1212
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",

0 commit comments

Comments
 (0)