refactor: používat conventional commit formát
This commit is contained in:
parent
39caef858a
commit
0d4ba7b1a6
6 changed files with 1273 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -140,3 +140,4 @@ Temporary Items
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/flutter,linux,macos,visualstudiocode
|
# End of https://www.toptal.com/developers/gitignore/api/flutter,linux,macos,visualstudiocode
|
||||||
|
node_modules
|
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no -- commitlint --edit "${1}"
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
flutter analyze
|
1
commitlint.config.js
Normal file
1
commitlint.config.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
module.exports = {extends: ['@commitlint/config-conventional']}
|
10
package.json
Normal file
10
package.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"@commitlint/config-conventional": "^17.0.0",
|
||||||
|
"@commitlint/cli": "^17.0.0",
|
||||||
|
"husky": "^8.0.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"prepare": "husky install"
|
||||||
|
}
|
||||||
|
}
|
1253
pnpm-lock.yaml
Normal file
1253
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
Reference in a new issue