mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-21 15:38:57 +01:00
Added max-len
rule (fixes #4)
This commit is contained in:
parent
e17e0a76e4
commit
2c781dee69
@ -100,6 +100,19 @@ const generic = {
|
||||
'error',
|
||||
'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-alert': 'error',
|
||||
'no-caller': 'error',
|
||||
|
Loading…
Reference in New Issue
Block a user