enable eslint caching

这个提交包含在:
Tobias Koppers 2018-05-11 16:06:20 +02:00
父节点 0eeea0f344
当前提交 17bcc3c9db
共有 2 个文件被更改,包括 2 次插入1 次删除

1
.gitignore vendored
查看文件

@ -10,4 +10,5 @@
*.log
.idea
.vscode
.eslintcache
package-lock.json

查看文件

@ -113,7 +113,7 @@
"pretest": "yarn lint",
"prelint": "yarn setup",
"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",
"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",