Browse Source

Use eslint cache (#12668)

master
BSKY 1 month ago
parent
commit
cf4dc3ffb3
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      .gitignore
  2. 1
    1
      package.json

+ 1
- 1
.gitignore View File

@@ -13,6 +13,7 @@
13 13
 /db/*.sqlite3-journal
14 14
 
15 15
 # Ignore all logfiles and tempfiles.
16
+.eslintcache
16 17
 /log/*
17 18
 !/log/.keep
18 19
 /tmp
@@ -61,4 +62,3 @@ ubuntu-xenial-16.04-cloudimg-console.log
61 62
 
62 63
 # Ignore Docker option files
63 64
 docker-compose.override.yml
64
-

+ 1
- 1
package.json View File

@@ -12,7 +12,7 @@
12 12
     "start": "node ./streaming/index.js",
13 13
     "test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
14 14
     "test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
15
-    "test:lint:js": "eslint --ext=js .",
15
+    "test:lint:js": "eslint --ext=js . --cache",
16 16
     "test:lint:sass": "sass-lint -v",
17 17
     "test:jest": "cross-env NODE_ENV=test jest --coverage"
18 18
   },

Loading…
Cancel
Save