From: Jérôme Benoit Date: Sat, 5 Mar 2022 17:55:31 +0000 (+0100) Subject: Make the linter use a cache X-Git-Tag: v1.1.52~22 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=65db1aeeb41bb9c47cb5ffff8f09dd025d456c2a;p=e-mobility-charging-stations-simulator.git Make the linter use a cache Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 3f10b229..9557e59d 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "build": "npm run rollup", "build:dev": "npm run rollup -- --environment BUILD:development", "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", - "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", - "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", + "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src", + "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src", "format": "prettier --write .", "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",