Skip to content

Commit

Permalink
fix: don't enforce max-len on comments
Browse files Browse the repository at this point in the history
Wrapping text content is not advised since it makes that text harder to read smoothly with screen readers.
  • Loading branch information
wraithgar committed Apr 10, 2024
1 parent 82484a5 commit 9b261d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = {
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
'keyword-spacing': ['error', { before: true, after: true }],
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
'max-len': ['error', 100, { ignoreComments: false }],
'max-len': ['error', 100, { ignoreComments: true }],
'new-cap': ['error', { newIsCap: true, capIsNew: false, properties: true }],
'new-parens': 'error',
'no-array-constructor': 'error',
Expand Down

0 comments on commit 9b261d3

Please sign in to comment.