1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

CI: Run prettier to check for JS code formatting

This commit is contained in:
Franz Liedke
2020-04-17 11:00:52 +02:00
parent 72ed4faa83
commit 899cdfda4e
2 changed files with 33 additions and 1 deletions

View File

@@ -26,7 +26,8 @@
"scripts": {
"dev": "webpack --mode development --watch",
"build": "webpack --mode production",
"format": "prettier --write src"
"format": "prettier --write src",
"format-check": "prettier --check src"
},
"husky": {
"hooks": {