Use eslint --cache CLI argument to speed up linting
This commit is contained in:
parent
3a94d2c75e
commit
1dcbee4e2a
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,6 +14,7 @@ release/
|
|||
*.sublime*
|
||||
/sql/
|
||||
/start.sh
|
||||
.eslintcache
|
||||
|
||||
# generated files
|
||||
js/components.js
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"test-electron": "yarn grunt test",
|
||||
"test-node": "electron-mocha --file test/setup-test-node.js --recursive test/app test/modules ts/test-node ts/test-both",
|
||||
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-node ts/test-both",
|
||||
"eslint": "eslint .",
|
||||
"eslint": "eslint --cache .",
|
||||
"lint": "yarn format --list-different && yarn eslint",
|
||||
"lint-deps": "node ts/util/lint/linter.js",
|
||||
"lint-license-comments": "ts-node ts/util/lint/license_comments.ts",
|
||||
|
|
Loading…
Reference in a new issue