|
1 | | -module.exports = { |
2 | | - parserPreset: 'conventional-changelog-conventionalcommits', |
3 | | - rules: { |
4 | | - 'body-leading-blank': [1, 'always'], |
5 | | - 'body-max-line-length': [2, 'always', 100], |
6 | | - 'footer-leading-blank': [1, 'always'], |
7 | | - 'footer-max-line-length': [2, 'always', 100], |
8 | | - 'header-max-length': [2, 'always', 100], |
9 | | - 'subject-empty': [2, 'never'], |
10 | | - 'subject-full-stop': [1, 'never', '.'], |
11 | | - 'type-case': [2, 'always', 'lower-case'], |
12 | | - 'type-empty': [2, 'never'], |
13 | | - 'type-enum': [ |
14 | | - 2, |
15 | | - 'always', |
16 | | - ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test'] |
17 | | - ] |
18 | | - } |
19 | | -}; |
| 1 | +// eslint-disable-next-line import/no-anonymous-default-export |
| 2 | +export default { |
| 3 | + parserPreset: 'conventional-changelog-conventionalcommits', |
| 4 | + rules: { |
| 5 | + 'body-leading-blank': [1, 'always'], |
| 6 | + 'body-max-line-length': [2, 'always', 100], |
| 7 | + 'footer-leading-blank': [1, 'always'], |
| 8 | + 'footer-max-line-length': [2, 'always', 100], |
| 9 | + 'header-max-length': [2, 'always', 100], |
| 10 | + 'subject-empty': [2, 'never'], |
| 11 | + 'subject-full-stop': [1, 'never', '.'], |
| 12 | + 'type-case': [2, 'always', 'lower-case'], |
| 13 | + 'type-empty': [2, 'never'], |
| 14 | + 'type-enum': [ |
| 15 | + 2, |
| 16 | + 'always', |
| 17 | + ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test'] |
| 18 | + ] |
| 19 | + } |
| 20 | +}; |
0 commit comments