File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ module.exports = {
55 "env" : {
66 "node" : true ,
77 "es6" : true ,
8+ "mocha" : true ,
89 } ,
910 "parserOptions" : { "ecmaVersion" : 2017 } ,
1011 "rules" : {
Original file line number Diff line number Diff line change 103103 "build:examples" : " cd examples && node buildAll.js" ,
104104 "pretest" : " npm run lint-files" ,
105105 "lint-files" : " npm run lint && npm run beautify-lint" ,
106- "lint" : " eslint lib bin hot buildin \" test/**/webpack.config.js\" \" test/binCases/**/test.js\" \" examples/**/webpack.config.js\" " ,
106+ "lint" : " eslint lib bin hot buildin \" test/*.js \" \" test/* */webpack.config.js\" \" test/binCases/**/test.js\" \" examples/**/webpack.config.js\" " ,
107107 "fix" : " npm run lint -- --fix" ,
108108 "beautify-lint" : " beautify-lint \" lib/**/*.js\" \" hot/**/*.js\" \" bin/**/*.js\" \" benchmark/*.js\" \" test/*.js\" " ,
109109 "nsp" : " nsp check --output summary" ,
You can’t perform that action at this time.
0 commit comments