mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(examples): convert to the dotfile version of commitlint config file
This commit is contained in:
3
examples/dotfiles/.commitlintrc.js
Normal file
3
examples/dotfiles/.commitlintrc.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// See https://commitlint.js.org/#/guides-local-setup .
|
||||
|
||||
module.exports = {extends: ['@commitlint/config-conventional']}
|
||||
@@ -41,6 +41,12 @@ pre-commit:
|
||||
runner: node
|
||||
"any.go":
|
||||
runner: go run
|
||||
|
||||
commit-msg:
|
||||
commands:
|
||||
commitlint:
|
||||
run: commitlint --edit
|
||||
|
||||
pre-push:
|
||||
commands:
|
||||
packages-audit:
|
||||
|
||||
Reference in New Issue
Block a user