Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
chore: switch to the new Commitlint config package 📦
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Feb 8, 2019
1 parent 0bbb452 commit 0993056
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 30 deletions.
27 changes: 1 addition & 26 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,6 @@

module.exports = {
extends: [
'@commitlint/config-conventional',
'@strv/commitlint-config/lerna',
],

rules: {
'scope-enum': [2, 'always', [
'action',
'atlas',
'aws',
'braintree',
'cli',
'component',
'errors',
'firebase',
'generator',
'hook',
'koa',
'mongoose',
'nodemailer',
'objection',
'repl',
'sequelize',
'service',
'templates',
]],

'body-leading-blank': [2, 'always'],
},
}
61 changes: 58 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0",
"@strv/commitlint-config": "^0.1.1-alpha.0",
"@strv/eslint-config-mocha": "^0.1.1-alpha.1",
"@strv/eslint-config-node": "^0.1.1-alpha.0",
"@types/chai": "^4.1.7",
Expand Down

0 comments on commit 0993056

Please sign in to comment.