1
0
mirror of https://github.com/flarum/core.git synced 2025-09-03 05:02:45 +02:00

Remove format hook on commit; update CI to only build with valid formatting (#3032)

* Remove format hook on commit

We all hate it. Let's remove it.
This commit is contained in:
David Wheatley
2021-08-19 02:53:39 +02:00
committed by GitHub
parent f1f492f9b5
commit 24992b248f
5 changed files with 91 additions and 664 deletions

View File

@@ -28,7 +28,6 @@
"cross-env": "^7.0.3",
"flarum-tsconfig": "^0.1.0-beta.16",
"flarum-webpack-config": "0.1.0-beta.16.2",
"husky": "^4.3.8",
"prettier": "^2.3.0",
"typescript": "^4.2.4",
"webpack": "^4.46.0",
@@ -43,10 +42,5 @@
"format-check": "prettier --check src",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "npm run clean-typings && cp -r @types dist-typings/@types && tsc"
},
"husky": {
"hooks": {
"pre-commit": "npm run format"
}
}
}