|
5 | 5 | ], |
6 | 6 | "rules": { |
7 | 7 | "max-len": [ |
8 | | - "error", |
| 8 | + "warn", |
9 | 9 | { |
10 | | - "code": 100, |
| 10 | + "code": 120, |
11 | 11 | "tabWidth": 4, |
12 | 12 | "ignoreUrls": true, |
13 | | - "ignoreStrings": true, |
14 | | - "ignoreTemplateLiterals": true, |
| 13 | + "ignoreStrings": false, |
| 14 | + "ignoreTemplateLiterals": false, |
15 | 15 | "ignoreRegExpLiterals": true, |
16 | 16 | "ignoreComments": false |
17 | 17 | } |
18 | | - ], |
19 | | - "object-curly-newline": [ |
20 | | - "error", |
21 | | - { |
22 | | - "ObjectExpression": { |
23 | | - "multiline": true, |
24 | | - "minProperties": 3, |
25 | | - "consistent": true |
26 | | - }, |
27 | | - "ObjectPattern": { |
28 | | - "multiline": true, |
29 | | - "minProperties": 3, |
30 | | - "consistent": true |
31 | | - }, |
32 | | - "ImportDeclaration": { |
33 | | - "multiline": true, |
34 | | - "minProperties": 4, |
35 | | - "consistent": true |
36 | | - }, |
37 | | - "ExportDeclaration": { |
38 | | - "multiline": true, |
39 | | - "minProperties": 3, |
40 | | - "consistent": true |
41 | | - } |
42 | | - } |
43 | | - ], |
44 | | - "object-property-newline": [ |
45 | | - "error", |
46 | | - { |
47 | | - "allowAllPropertiesOnSameLine": false, |
48 | | - "allowMultiplePropertiesPerLine": false |
49 | | - } |
50 | | - ], |
51 | | - "array-element-newline": [ |
52 | | - "error", |
53 | | - { |
54 | | - "ArrayExpression": "consistent", |
55 | | - "ArrayPattern": "consistent" |
56 | | - } |
57 | | - ], |
58 | | - "function-paren-newline": ["error", "multiline-arguments"], |
59 | | - "function-call-argument-newline": ["error", "consistent"], |
60 | | - "indent": [ |
61 | | - "error", |
62 | | - 4, |
63 | | - { |
64 | | - "SwitchCase": 1, |
65 | | - "VariableDeclarator": 1, |
66 | | - "outerIIFEBody": 1, |
67 | | - "MemberExpression": 1, |
68 | | - "FunctionDeclaration": { |
69 | | - "parameters": 1, |
70 | | - "body": 1 |
71 | | - }, |
72 | | - "FunctionExpression": { |
73 | | - "parameters": 1, |
74 | | - "body": 1 |
75 | | - }, |
76 | | - "CallExpression": { |
77 | | - "arguments": 1 |
78 | | - }, |
79 | | - "ArrayExpression": 1, |
80 | | - "ObjectExpression": 1, |
81 | | - "ImportDeclaration": 1, |
82 | | - "flatTernaryExpressions": false, |
83 | | - "ignoreComments": false |
84 | | - } |
85 | 18 | ] |
86 | 19 | }, |
87 | 20 | "overrides": [ |
88 | 21 | { |
89 | 22 | "files": ["*.ts", "*.tsx"], |
90 | 23 | "rules": { |
91 | | - "@typescript-eslint/max-len": [ |
92 | | - "error", |
| 24 | + "max-len": [ |
| 25 | + "warn", |
93 | 26 | { |
94 | | - "code": 100, |
| 27 | + "code": 120, |
95 | 28 | "tabWidth": 4, |
96 | 29 | "ignoreUrls": true, |
97 | | - "ignoreStrings": true, |
98 | | - "ignoreTemplateLiterals": true, |
| 30 | + "ignoreStrings": false, |
| 31 | + "ignoreTemplateLiterals": false, |
99 | 32 | "ignoreRegExpLiterals": true, |
100 | 33 | "ignoreComments": false |
101 | 34 | } |
|
0 commit comments