Remove CommitLint. (#20)
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:
2025-01-09 01:19:19 +00:00
committed by Maxim Hutz
parent a9fb5dd115
commit c08f7885af
6 changed files with 0 additions and 2931 deletions

View File

@@ -1,2 +0,0 @@
extends:
- "@commitlint/config-conventional"

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit "$1"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
terraform -chdir=terraform validate
terraform -chdir=terraform fmt -recursive

View File

@@ -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

File diff suppressed because it is too large Load Diff

View File

@@ -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"
}
}
}