Merge pull request #2357 from mikeller/add_linter_to_test
Added linter run to tests.10.8-maintenance
commit
3deb1ca9af
|
@ -41,7 +41,6 @@ before_install:
|
|||
}
|
||||
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test
|
||||
- yarn gulp release
|
||||
|
||||
|
|
|
@ -13,9 +13,10 @@
|
|||
"release": "run-script-os",
|
||||
"release:default": "NODE_ENV=production gulp release",
|
||||
"release:windows": "set NODE_ENV=production&& gulp release",
|
||||
"pretest": "yarn run lint",
|
||||
"test": "karma start test/karma.conf.js",
|
||||
"lint": "eslint --ext .js,.vue src",
|
||||
"lint:fix": "eslint --fix src"
|
||||
"lint": "eslint --ext .js,.vue src gulpfile.js",
|
||||
"lint:fix": "eslint --fix src gulpfile.js"
|
||||
},
|
||||
"window": {
|
||||
"icon": "images/bf_icon_128.png",
|
||||
|
|
Loading…
Reference in New Issue