mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
cache lint results for faster repeat execution (#10773)
This commit is contained in:
parent
0040b66e5c
commit
95fbf92cc5
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ audit.json
|
||||
app/bower_components
|
||||
test/bower_components
|
||||
package
|
||||
.eslintcache
|
||||
|
||||
# IDEs
|
||||
.idea
|
||||
|
@ -34,8 +34,8 @@
|
||||
"test:coverage:path": "nyc --check-coverage yarn test:unit:path",
|
||||
"ganache:start": "./development/run-ganache.sh",
|
||||
"sentry:publish": "node ./development/sentry-publish.js",
|
||||
"lint": "prettier --check ./**/*.json && eslint . --ext js && yarn lint:styles",
|
||||
"lint:fix": "prettier --write ./**/*.json && eslint . --ext js --fix",
|
||||
"lint": "prettier --check ./**/*.json && eslint . --ext js --cache && yarn lint:styles",
|
||||
"lint:fix": "prettier --write ./**/*.json && eslint . --ext js --cache --fix",
|
||||
"lint:changed": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint",
|
||||
"lint:changed:fix": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint --fix",
|
||||
"lint:shellcheck": "./development/shellcheck.sh",
|
||||
|
Loading…
Reference in New Issue
Block a user