Skip to content

Commit 022b16d

Browse files
committed
Use shared commitlint config
1 parent 8a4b094 commit 022b16d

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

commitlint.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
import plugin from './src/index.js';
22

33
export default {
4+
extends: ['@somehow-digital/commitlint-config'],
45
plugins: [plugin],
5-
rules: {
6-
'spellcheck/body': [2, 'always'],
7-
'spellcheck/footer': [2, 'always'],
8-
'spellcheck/header': [2, 'always'],
9-
'spellcheck/scope': [2, 'always'],
10-
'spellcheck/subject': [2, 'always'],
11-
'spellcheck/type': [2, 'always'],
12-
},
136
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
},
4141
"devDependencies": {
4242
"@commitlint/cli": "^19.3.0",
43+
"@somehow-digital/commitlint-config": "^1.0.0",
4344
"@somehow-digital/cspell-dictionary": "^1.0.0",
4445
"@somehow-digital/eslint-config": "github:somehow-digital/eslint-config",
4546
"@somehow-digital/prettier-config": "^2.0.0",

pnpm-lock.yaml

Lines changed: 31 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)