[Eslint] Add max-len config
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user