From f205c99c676bb71b9c5c043e574a5c96856fc265 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Tue, 19 Feb 2019 22:13:18 +0200 Subject: [PATCH] Use ESLint cache for local development (#1747) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2295af9af4..e59cf01850 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,10 @@ "scripts": { "watch": "node ./resources/watch.js", "test": "npm run lint && npm run check && npm run testonly", - "test:ci": "npm run lint && npm run check && npm run testonly:cover", + "test:ci": "npm run lint -- --no-cache && npm run check && npm run testonly:cover", "testonly": "mocha --full-trace src/**/__tests__/**/*-test.js", "testonly:cover": "nyc --clean --skip-full --reporter json --reporter html --reporter text -- npm run testonly", - "lint": "eslint --report-unused-disable-directives src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)", + "lint": "eslint --cache --report-unused-disable-directives src", "benchmark": "node ./resources/benchmark.js", "prettier": "prettier --write --list-different 'src/**/*.js'", "check": "flow check",