mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-02-16 06:59:27 +00:00
Added max-len
rule (fixes #4)
This commit is contained in:
parent
e17e0a76e4
commit
2c781dee69
@ -100,6 +100,19 @@ const generic = {
|
|||||||
'error',
|
'error',
|
||||||
'unix',
|
'unix',
|
||||||
],
|
],
|
||||||
|
'max-len': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
code: 100,
|
||||||
|
comments: 80,
|
||||||
|
ignoreComments: false,
|
||||||
|
ignoreTrailingComments: false,
|
||||||
|
ignoreUrls: true,
|
||||||
|
ignoreStrings: true,
|
||||||
|
ignoreTemplateLiterals: false,
|
||||||
|
ignoreRegExpLiterals: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
'no-unused-vars': 'warn',
|
'no-unused-vars': 'warn',
|
||||||
'no-alert': 'error',
|
'no-alert': 'error',
|
||||||
'no-caller': 'error',
|
'no-caller': 'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user