diff --git a/.gitignore b/.gitignore index 3b16b7d30c..019ed62e9a 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 f71afddaf2..8ac2e085a9 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",