enable eslint caching
This commit is contained in:
parent
0eeea0f344
commit
17bcc3c9db
|
@ -10,4 +10,5 @@
|
||||||
*.log
|
*.log
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
.eslintcache
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
"pretest": "yarn lint",
|
"pretest": "yarn lint",
|
||||||
"prelint": "yarn setup",
|
"prelint": "yarn setup",
|
||||||
"lint": "yarn code-lint && yarn schema-lint && yarn type-lint",
|
"lint": "yarn code-lint && yarn schema-lint && yarn type-lint",
|
||||||
"code-lint": "eslint setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
|
"code-lint": "eslint --cache setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
|
||||||
"type-lint": "tsc --pretty",
|
"type-lint": "tsc --pretty",
|
||||||
"fix": "yarn code-lint --fix",
|
"fix": "yarn code-lint --fix",
|
||||||
"pretty": "prettier \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" \"declarations.d.ts\" --write",
|
"pretty": "prettier \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" \"declarations.d.ts\" --write",
|
||||||
|
|
Loading…
Reference in New Issue