ESLint: Use cache (#2959)
diff --git a/.gitignore b/.gitignore
index 3b16b7d..019ed62 100755
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ hide-*.js
node_modules
.idea/
.DS_Store
+.eslintcache
diff --git a/package.json b/package.json
index f71afdd..8ac2e08 100755
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"scripts": {
"build": "gulp",
"start": "http-server -c-1",
- "lint": "eslint .",
- "lint:fix": "eslint . --fix",
+ "lint": "eslint . --cache",
+ "lint:fix": "npm run lint -- --fix",
"lint:ci": "eslint . --max-warnings 0",
"test:aliases": "mocha tests/aliases-test.js",
"test:core": "mocha tests/core/**/*.js",