[Eslint] Add max-len config

This commit is contained in:
2025-06-11 09:48:34 +02:00
parent 77dd4b4ca8
commit 294d7a9a98

View File

@@ -113,6 +113,16 @@ const style = {
'error', 'error',
'always' 'always'
], ],
'@stylistic/max-len': [
'warn',
{
'code': 90,
'comments': 100,
'ignoreComments': false,
'ignoreUrls': true,
'ignoreStrings': false
}
],
'@stylistic/new-parens': [ '@stylistic/new-parens': [
'error', 'error',
'always' 'always'
@@ -170,7 +180,6 @@ const style = {
], ],
// Padding lines. The most in-depth part of this config // Padding lines. The most in-depth part of this config
// ['block', 'block-like', 'break', 'cjs-export', 'cjs-import', 'class', 'const', 'continue', 'debugger', 'directive', 'do', 'empty', 'export', 'expression', 'for', 'function', 'if', 'iife', 'import', 'let', 'return', 'switch', 'throw', 'try', 'var', 'while', 'with']
'@stylistic/padding-line-between-statements': [ '@stylistic/padding-line-between-statements': [
'error', 'error',
// Variables, Constants // Variables, Constants