Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tools: update capitalize-comments eslint rule
This strictens the rule to apply from 20 characters on instead of
from 30.
  • Loading branch information
BridgeAR committed Mar 25, 2019
commit c029bfe688a9b8d31a87a17c37913bdd99912f20
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ module.exports = {
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'capitalized-comments': ['error', 'always', {
line: {
// Ignore all lines that have less characters than 30 and all lines that
// Ignore all lines that have less characters than 20 and all lines that
// start with something that looks like a variable name or code.
ignorePattern: '^.{0,30}$|^ [a-z]+ ?[0-9A-Z_.(/=:[#-]|^ std',
ignorePattern: '^.{0,20}$|^ [a-z]+ ?[0-9A-Z_.(/=:[#-]|^ std',
Comment thread
BridgeAR marked this conversation as resolved.
Outdated
ignoreInlineComments: true,
ignoreConsecutiveComments: true,
},
Expand Down