goodbye max lines error (#14327)

This commit is contained in:
TDSSS
2020-09-25 22:09:42 +02:00
committed by GitHub
parent 208ce06ab1
commit ffb20db9da
+6 -6
View File
@@ -366,13 +366,13 @@ rules:
## Enforce a maximum depth that blocks can be nested
# max-depth: error
## Enforce a maximum line length
max-len: [error, {
code: 80,
#max-len: [error, {
# code: 80,
## Ignore imports
ignorePattern: '^(import\s.+\sfrom\s|.*require\()',
ignoreUrls: true,
ignoreRegExpLiterals: true,
}]
#ignorePattern: '^(import\s.+\sfrom\s|.*require\()',
#ignoreUrls: true,
#ignoreRegExpLiterals: true,
#}]
## Enforce a maximum number of lines per file
# max-lines: error
## Enforce a maximum number of line of code in a function