mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-06-28 04:55:11 +00:00
Added max-len
rule (fixes #4)
This commit is contained in:
@ -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',
|
||||||
|
Reference in New Issue
Block a user