Run yarn lint-windows
without Prettier for AppVeyor
We need to figure out how to run globs on Windows.
This commit is contained in:
parent
1d867d784d
commit
522bd57ec3
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ install:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- yarn transpile
|
- yarn transpile
|
||||||
- yarn lint
|
- yarn lint-windows
|
||||||
- yarn test-node
|
- yarn test-node
|
||||||
- yarn nsp check
|
- yarn nsp check
|
||||||
- yarn generate
|
- yarn generate
|
||||||
|
|
|
@ -41,10 +41,10 @@
|
||||||
"eslint": "eslint .",
|
"eslint": "eslint .",
|
||||||
"jscs": "yarn grunt jscs",
|
"jscs": "yarn grunt jscs",
|
||||||
"jshint": "yarn grunt jshint",
|
"jshint": "yarn grunt jshint",
|
||||||
"lint": "yarn format-check && yarn eslint && yarn grunt lint && yarn tslint",
|
"lint": "yarn format --list-different && yarn lint-windows",
|
||||||
|
"lint-windows": "yarn eslint && yarn grunt lint && yarn tslint",
|
||||||
"tslint": "tslint --config tslint.json --format stylish --project .",
|
"tslint": "tslint --config tslint.json --format stylish --project .",
|
||||||
"format": "prettier --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
|
"format": "prettier --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
|
||||||
"format-check": "prettier --list-different \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
|
|
||||||
"transpile": "tsc",
|
"transpile": "tsc",
|
||||||
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
|
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
|
||||||
"open-coverage": "open coverage/lcov-report/index.html",
|
"open-coverage": "open coverage/lcov-report/index.html",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue