diff --git a/.gitignore b/.gitignore index 0dcf1ed199..82e6873865 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.log *.tsbuildinfo .DS_Store +.eslintcache .webpack/ ci/apt/packages dist/ diff --git a/package.json b/package.json index 14abdc3a44..d680ee715d 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "benchmark:serve": "webpack serve --mode development --progress --config benchmark/webpack.config.ts", "benchmark:build:prod": "webpack --mode production --progress --config benchmark/webpack.config.ts", "license-check": "ts-node ci/license-check.ts", - "lint": "TIMING=1 eslint --report-unused-disable-directives --fix .", - "lint:ci": "TIMING=1 eslint --report-unused-disable-directives --config .eslintrc.ci.yaml .", + "lint": "TIMING=1 eslint --report-unused-disable-directives --cache --fix .", + "lint:ci": "TIMING=1 eslint --report-unused-disable-directives --cache --max-warnings 0 --config .eslintrc.ci.yaml .", "lint:ci:report": "yarn lint:ci -f json -o eslint-report.json --quiet", "lint:unused-exports": "ts-node ./ci/lint-unused-exports.ts", "lint:dependencies": "ts-node ./ci/lint-dependencies.ts .",