Skip to content

Commit f205c99

Browse files
Use ESLint cache for local development (#1747)
1 parent 6ffacd0 commit f205c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"scripts": {
2525
"watch": "node ./resources/watch.js",
2626
"test": "npm run lint && npm run check && npm run testonly",
27-
"test:ci": "npm run lint && npm run check && npm run testonly:cover",
27+
"test:ci": "npm run lint -- --no-cache && npm run check && npm run testonly:cover",
2828
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
2929
"testonly:cover": "nyc --clean --skip-full --reporter json --reporter html --reporter text -- npm run testonly",
30-
"lint": "eslint --report-unused-disable-directives src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)",
30+
"lint": "eslint --cache --report-unused-disable-directives src",
3131
"benchmark": "node ./resources/benchmark.js",
3232
"prettier": "prettier --write --list-different 'src/**/*.js'",
3333
"check": "flow check",

0 commit comments

Comments
 (0)