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:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user