Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Sep 30, 2024
2 parents d6b365a + 1116103 commit e564dc4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commitlint/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [2, 'always', 200],
'header-max-length': [2, 'always', 72],
'scope-empty': [2, 'never'],
'scope-enum': [
2,
Expand Down
1 change: 1 addition & 0 deletions src/eslint/eslint.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
'plugin:eslint-comments/recommended',
'plugin:import/recommended',
'prettier',
'@commitlint/config-conventional',
require.resolve('./rules/base'),
],
ignorePatterns: ['!.*.js'],
Expand Down
6 changes: 6 additions & 0 deletions src/eslint/rules/commitlint/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
rules: {
'body-max-line-length': [0, 'always', 200],
'header-max-length': [2, 'always', 72],
},
};

0 comments on commit e564dc4

Please sign in to comment.