chore: add cache option for eslint

This commit is contained in:
Oprysk 2022-01-26 10:42:58 +02:00
parent b2cad9c0f0
commit 7a95dcca42
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -37,3 +37,4 @@ stats.json
yarn.lock
.idea
.vscode
.eslintcache

View File

@ -49,7 +49,7 @@
"stats": "webpack --env production --env standalone --json --profile --mode=production > stats.json",
"prettier": "prettier --write \"cli/index.ts\" \"src/**/*.{ts,tsx}\"",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --cache",
"benchmark": "node ./benchmark/benchmark.js",
"start:demo": "webpack serve --hot --config demo/webpack.config.ts --mode=development",
"compile:cli": "tsc custom.d.ts cli/index.ts --target es6 --module commonjs --types yargs",