Browse Source

chore: eslint cache

tophf 3 years ago
parent
commit
2d572b0f80
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      package.json

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 /dist/
 node_modules/
 *.log
+.eslintcache
 /stats.json
 /tmp/
 /dist-assets/

+ 1 - 1
package.json

@@ -11,7 +11,7 @@
     "i18n": "gulp i18n",
     "copyI18n": "gulp copyI18n",
     "lint": "run-s lint:js lint:yml",
-    "lint:js": "eslint --ext .js,.vue .",
+    "lint:js": "eslint --ext .js,.vue . --cache",
     "lint:yml": "gulp check",
     "svgo": "plaid svgo",
     "test": "cross-env BABEL_ENV=test tape -r ./test/mock/register \"test/**/*.test.js\" | tap-summary",