Download commitlint.config.js from usofn8n/Evo: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/spaces/usofn8n/Evo/resolve/main/commitlint.config.js
- Command line
-
hf download hf://spaces/usofn8n/Evo/commitlint.config.js
-
curl -L -o commitlint.config.js https://huggingface.co/spaces/usofn8n/Evo/resolve/main/commitlint.config.js
1.19 kB
| module.exports = { | |
| extends: ['@commitlint/config-conventional'], | |
| rules: { | |
| 'type-enum': [ | |
| 2, | |
| 'always', | |
| [ | |
| 'feat', // New feature | |
| 'fix', // Bug fix | |
| 'docs', // Documentation changes | |
| 'style', // Code style changes (formatting, etc) | |
| 'refactor', // Code refactoring | |
| 'perf', // Performance improvements | |
| 'test', // Adding or updating tests | |
| 'chore', // Maintenance tasks | |
| 'ci', // CI/CD changes | |
| 'build', // Build system changes | |
| 'revert', // Reverting changes | |
| 'security', // Security fixes | |
| ], | |
| ], | |
| 'type-case': [2, 'always', 'lower-case'], | |
| 'type-empty': [2, 'never'], | |
| 'scope-case': [2, 'always', 'lower-case'], | |
| 'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], | |
| 'subject-empty': [2, 'never'], | |
| 'subject-full-stop': [2, 'never', '.'], | |
| 'header-max-length': [2, 'always', 100], | |
| 'body-leading-blank': [1, 'always'], | |
| 'body-max-line-length': [0, 'always', 150], | |
| 'footer-leading-blank': [1, 'always'], | |
| 'footer-max-line-length': [0, 'always', 150], | |
| }, | |
| }; | |