Remove CommitLint. (#20)
All checks were successful
🔧 Pipeline / 🪨 Terraform (push) Successful in 8s
All checks were successful
🔧 Pipeline / 🪨 Terraform (push) Successful in 8s
## 🔍 Motivation & Context Requiring `npm` and `node` to be present in all repositories, regardless of tech-stack used, is getting cumbersome and unnecessary. For now, I am removing this. In the future, I will find a better way to get commit-lint working. ## 🔖 Related Issue None. ## ✨ Changes - Removed all traces of `commitlint`. Reviewed-on: https://code.maximhutz.com/Web/Gitea/pulls/20 Co-authored-by: Max <git@maximhutz.me> Co-committed-by: Max <git@maximhutz.me>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
extends:
|
||||
- "@commitlint/config-conventional"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no -- commitlint --edit "$1"
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
terraform -chdir=terraform validate
|
||||
terraform -chdir=terraform fmt -recursive
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
exec < /dev/tty && node_modules/.bin/cz --hook || true
|
||||
2891
package-lock.json
generated
2891
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
25
package.json
25
package.json
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"name": "codebase",
|
||||
"version": "1.0.0",
|
||||
"description": "This is the [Gitea](https://about.gitea.com/) instance that stores all repositories seen on [this site](https://git1.maximhutz.com)!",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"prepare": "husky install",
|
||||
"cz": "cz"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "19.4.0",
|
||||
"@commitlint/config-conventional": "19.2.2",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"husky": "^8.0.0"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user