diff --git a/.commitlintrc.mjs b/.commitlintrc.mjs new file mode 100644 index 0000000..ea76fc4 --- /dev/null +++ b/.commitlintrc.mjs @@ -0,0 +1,9 @@ +export default { + extends: ["@commitlint/config-conventional"], + ignores: [ + (message) => + message.startsWith("deps:") || + message.startsWith("deps(") || + message.includes("ci(deps):"), + ], +}; diff --git a/.commitlintrc.yaml b/.commitlintrc.yaml deleted file mode 100644 index 9cb74a7..0000000 --- a/.commitlintrc.yaml +++ /dev/null @@ -1,2 +0,0 @@ -extends: - - "@commitlint/config-conventional" diff --git a/.cruft.json b/.cruft.json index 4405950..56a9495 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/mrsimonemms/new", - "commit": "6f1459d0cc97b9a3e0fa01a996a7af83fefe02aa", + "commit": "6f9d354501373017c05fcf905450cfb9647ff8bf", "checkout": null, "context": { "cookiecutter": { @@ -10,7 +10,7 @@ "repo": "github.com/zigflow/schema", "use_viper": false, "_template": "https://github.com/mrsimonemms/new", - "_commit": "6f1459d0cc97b9a3e0fa01a996a7af83fefe02aa" + "_commit": "6f9d354501373017c05fcf905450cfb9647ff8bf" } }, "directory": "golang-cobra", diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f0b9614..18d3fe4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@v10 + - uses: actions/stale@v11 with: days-before-stale: 60 days-before-close: 7 diff --git a/.golangci.yml b/.golangci.yml index 9a5a12c..aa93171 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,6 +17,7 @@ linters: - ineffassign - lll - misspell + - modernize - nakedret - noctx - nolintlint