Skip to content

Commit 6f512b1

Browse files
authored
Amend ESLint rules (#13559)
* Ignore max-len rule for import statements * Re-enable max-classes-per-file
1 parent 1c44def commit 6f512b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@
6767
"SwitchCase": 1
6868
}
6969
],
70-
"max-classes-per-file": "off",
70+
"max-classes-per-file": "on",
7171
"max-len": [
7272
"error",
7373
{
74-
"code": 120
74+
"code": 120,
75+
"ignorePattern": "^import\\s.+\\sfrom\\s.+;$",
76+
"ignoreUrls": true
7577
}
7678
],
7779
"no-confusing-arrow": [

0 commit comments

Comments
 (0)