Skip to content

Commit 0e9c2fe

Browse files
committed
Fail prettier if errors in test
1 parent d76669d commit 0e9c2fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "docker build -t hsldevcom/digitransit-deployer .",
99
"format": "prettier --write .",
1010
"lint": "eslint .",
11-
"test": "npm run format && npm run lint && TZ=Europe/Helsinki node ./node_modules/mocha/bin/mocha"
11+
"test": "prettier --check . && npm run lint && TZ=Europe/Helsinki node ./node_modules/mocha/bin/mocha"
1212
},
1313
"author": "",
1414
"license": "(AGPL-3.0 OR EUPL-1.2)",

0 commit comments

Comments
 (0)