Skip to content

Commit

Permalink
Use shared commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
thasmo committed Sep 27, 2024
1 parent 9c04b60 commit fb4f4a2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
10 changes: 1 addition & 9 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
export default {
plugins: ['@somehow-digital/commitlint-plugin-spellcheck'],
rules: {
'spellcheck/body': [2, 'always'],
'spellcheck/footer': [2, 'always'],
'spellcheck/header': [2, 'always'],
'spellcheck/scope': [2, 'always'],
'spellcheck/subject': [2, 'always'],
'spellcheck/type': [2, 'always'],
},
extends: ['@somehow-digital/commitlint-config'],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@somehow-digital/commitlint-plugin-spellcheck": "^1.0.1",
"@somehow-digital/commitlint-config": "^1.0.0",
"@somehow-digital/cspell-dictionary": "^1.0.0",
"@somehow-digital/prettier-config": "^2.0.0",
"concurrently": "^9.0.0",
Expand Down
19 changes: 16 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb4f4a2

Please sign in to comment.