Merge pull request #2357 from mikeller/add_linter_to_test

Added linter run to tests.
10.8-maintenance
Michael Keller 2021-01-01 00:41:04 +01:00 committed by GitHub
commit 3deb1ca9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,6 @@ before_install:
}
script:
- yarn lint
- yarn test
- yarn gulp release

View File

@ -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",