@cordada/commitlint-config-cordada 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -2
  2. package/index.js +4 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -21,8 +21,9 @@ echo "module.exports = {extends: ['@cordada/commitlint-config-cordada']};" > com
21
21
  The following rules are considered problems for `@cordada/commitlint-config-cordada` and will yield
22
22
  a non-zero exit code when not met.
23
23
 
24
- Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a
25
- list of available rules.
24
+ Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) or
25
+ [docs/rules (2)](https://github.com/conventional-changelog/commitlint/blob/v17.0.3/docs/reference-rules.md)
26
+ for a list of available rules.
26
27
 
27
28
  #### TODO
28
29
 
package/index.js CHANGED
@@ -1,9 +1,12 @@
1
1
  module.exports = {
2
2
  extends: ["@commitlint/config-conventional"],
3
3
  rules: {
4
+ "body-leading-blank": [2, "always"],
4
5
  "body-max-line-length": [1, "always", 100],
6
+ "footer-leading-blank": [2, "always"],
7
+ "footer-max-line-length": [1, "always", 100],
5
8
  "header-max-length": [2, "always", 72],
6
- "subject-case": [1, "always", ["sentence-case"]],
9
+ "subject-case": [2, "always", ["sentence-case"]],
7
10
  "trailer-exists": [1, "always", "Ref:"],
8
11
  "type-enum": [2, "always", ["chore", "feat", "fix"]],
9
12
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cordada/commitlint-config-cordada",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Shareable commitlint config enforcing conventional commits, with some customizations",
5
5
  "files": [
6
6
  "index.js"