Added max-len rule (fixes #4)

This commit is contained in:
Romein van Buren 2023-07-27 22:05:56 +02:00
parent e17e0a76e4
commit 2c781dee69
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -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',