Decouple yarn format from yarn format-check

Checking if that fixes Windows CI issue.
This commit is contained in:
Daniel Gasienica 2018-04-30 17:33:58 -04:00
parent c1445f1abe
commit 1d867d784d

View file

@ -41,9 +41,10 @@
"eslint": "eslint .",
"jscs": "yarn grunt jscs",
"jshint": "yarn grunt jshint",
"lint": "yarn format --list-different && yarn eslint && yarn grunt lint && yarn tslint",
"lint": "yarn format-check && yarn eslint && yarn grunt lint && yarn tslint",
"tslint": "tslint --config tslint.json --format stylish --project .",
"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",
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
"open-coverage": "open coverage/lcov-report/index.html",