From a352b8e3204d9474fb6fb1ab29a9f9b71eecaef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Nevyho=C5=A1t=C4=9Bn=C3=BD?= Date: Sun, 12 Nov 2023 12:01:27 +0100 Subject: [PATCH] fix: use lowercase for commit messages because it's standard --- .commitlintrc.json | 5 ----- .github/workflows/main.yml | 2 +- commitlint.config.js | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 .commitlintrc.json create mode 100644 commitlint.config.js diff --git a/.commitlintrc.json b/.commitlintrc.json deleted file mode 100644 index 8c1c2ea..0000000 --- a/.commitlintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "subject-case": [2, "always", ["sentence-case"]] - } -} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9926f53..804fdea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: name: Conventional commits runs-on: ubuntu-latest env: - COMMITLINT_CONFIG: .commitlintrc.json + COMMITLINT_CONFIG: commitlint.config.js steps: - uses: actions/checkout@v3 with: diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..422b194 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1 @@ +module.exports = { extends: ['@commitlint/config-conventional'] };