diff options
author | BSKY <git@bsky.moe> | 2019-12-23 15:27:55 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-12-23 07:27:55 +0100 |
commit | cf4dc3ffb335c5856f606c75e54112c988bfbd95 (patch) | |
tree | 9bf3750f1be70cf7340b0c66f508f6413850a68d | |
parent | db530966f78b7f2dd83ed96b337d2ac3569fe2af (diff) |
Use eslint cache (#12668)
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index 804eb7bdc..a4057eb6e 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ /db/*.sqlite3-journal # Ignore all logfiles and tempfiles. +.eslintcache /log/* !/log/.keep /tmp @@ -61,4 +62,3 @@ ubuntu-xenial-16.04-cloudimg-console.log # Ignore Docker option files docker-compose.override.yml - diff --git a/package.json b/package.json index 4f1cec636..98d4c37bb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "start": "node ./streaming/index.js", "test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest", "test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass", - "test:lint:js": "eslint --ext=js .", + "test:lint:js": "eslint --ext=js . --cache", "test:lint:sass": "sass-lint -v", "test:jest": "cross-env NODE_ENV=test jest --coverage" }, |