mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
feat(max-len): use ignoreUrls: true
Don't consider lines containing URLs as violating max-len
This commit is contained in:
parent
be9abcdee7
commit
a6d81174d2
1 changed files with 5 additions and 1 deletions
6
index.js
6
index.js
|
@ -104,7 +104,11 @@ module.exports = {
|
|||
after: true
|
||||
}],
|
||||
'linebreak-style': [2, 'unix'],
|
||||
'max-len': [2, 120, 4],
|
||||
'max-len': [2, {
|
||||
code: 120,
|
||||
tabWidth: 4,
|
||||
ignoreUrls: true
|
||||
}],
|
||||
'new-parens': [2],
|
||||
'newline-per-chained-call': [2],
|
||||
'no-lonely-if': [1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue