@vijayhardaha/dev-config 1.0.8 → 1.0.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vijayhardaha/dev-config",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Reusable development configurations for Next.js + TypeScript projects",
5
5
  "author": {
6
6
  "name": "Vijay Hardaha",
@@ -15,18 +15,11 @@ const config = {
15
15
  extends: ['@commitlint/config-conventional'],
16
16
 
17
17
  // ---- Rules ----
18
- // Maximum length for the commit header (first line)
19
18
  rules: {
20
- 'header-max-length': [2, 'always', 60],
21
-
22
- // Maximum length for any line in the commit body
23
- 'body-max-line-length': [2, 'always', 72],
24
-
25
- // Commit body must be in sentence case or lower case
26
- 'body-case': [2, 'always', ['sentence-case', 'lower-case']],
27
-
28
- // Subject case is not enforced (allows flexibility)
29
- 'subject-case': [0],
19
+ // Enforce a maximum header length of 72 characters
20
+ 'header-max-length': [2, 'always', 72],
21
+ // Enforce lowercase for the scope of the commit message
22
+ 'scope-case': [2, 'always', 'lower-case'],
30
23
  },
31
24
  };
32
25