@byzanteam/commitlint-config
Advanced tools
Comparing version 1.0.1 to 1.0.2
# @byzanteam/commitlint-config | ||
## 1.0.2 | ||
### Patch Changes | ||
- [#18](https://github.com/Byzanteam/jet-linter/pull/18) [`a2eabb1`](https://github.com/Byzanteam/jet-linter/commit/a2eabb1ff77907e59af830407e6b03f62156cc19) Thanks [@shaddollxz](https://github.com/shaddollxz)! - commitlint-config patch version update | ||
## 1.0.1 | ||
@@ -7,2 +13,2 @@ | ||
- [#6](https://github.com/Byzanteam/jet-linter/pull/6) [`03c2f9b`](https://github.com/Byzanteam/jet-linter/commit/03c2f9b7949bdd65cd63e2a8c60e6a8bc816ae9a) Thanks [@moonRider](https://github.com/moonRider)! - Add commitlint config | ||
- [#15](https://github.com/Byzanteam/jet-linter/pull/15) [`960c22f`](https://github.com/Byzanteam/jet-linter/commit/960c22ff338be1873855c01c10958199b68f3560) Thanks [@shaddollxz](https://github.com/shaddollxz)! - commit-lint rules update |
18
index.js
module.exports = { | ||
plugins: ['workspace-scopes'], | ||
extends: ['@byzanteam/commitlint-config'], | ||
rules: { | ||
'scope-enum': [ | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'root', // use to handle root repo changes | ||
'deps-dev', // for dependabot's commit | ||
'deps', // for dependabot's commit | ||
], | ||
['feat', 'bugfix', 'fix', 'refactor', 'style', 'docs', 'chore', 'other'], | ||
], | ||
'scope-empty': [2, 'never'], | ||
'type-empty': [2, 'never'], | ||
'type-case': [0], | ||
'scope-empty': [2, 'always'], | ||
'subject-full-stop': [0], | ||
'subject-empty': [2, 'never'], | ||
'subject-case': [0], | ||
'header-max-length': [2, 'always', 72], | ||
}, | ||
} |
{ | ||
"name": "@byzanteam/commitlint-config", | ||
"main": "index.js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"devDependencies": { | ||
"@byzanteam/commitlint-config": "^1.0.1", | ||
"commitlint-plugin-workspace-scopes": "^1.1.0" | ||
}, | ||
"peerDependencies": { | ||
"commitlint-plugin-workspace-scopes": "^1.1.0" | ||
} | ||
} |
1108
0
0