|
3 | 3 | "rules": { |
4 | 4 | "dot-notation": ["error", { "allowKeywords": true }], |
5 | 5 | "import/no-absolute-path": ["error", { "esmodule": true, "commonjs": true, "amd": false }], |
| 6 | + "indent": ["error", 2, { |
| 7 | + "SwitchCase": 1, |
| 8 | + "VariableDeclarator": 1, |
| 9 | + "outerIIFEBody": 1, |
| 10 | + "MemberExpression": 1, |
| 11 | + "FunctionDeclaration": { "parameters": 1, "body": 1 }, |
| 12 | + "FunctionExpression": { "parameters": 1, "body": 1 }, |
| 13 | + "CallExpression": { "arguments": 1 }, |
| 14 | + "ArrayExpression": 1, |
| 15 | + "ObjectExpression": 1, |
| 16 | + "ImportDeclaration": 1, |
| 17 | + "flatTernaryExpressions": false, |
| 18 | + "ignoreComments": false, |
| 19 | + "ignoredNodes": ["TemplateLiteral > *"] |
| 20 | + }], |
6 | 21 | "lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }], |
7 | 22 | "no-self-assign": ["error", { "props": true }], |
8 | | - "quotes": ["error", "single", { "avoidEscape": true }], |
9 | 23 | "operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before", "|>": "before" } }], |
| 24 | + "quotes": ["error", "single", { "avoidEscape": true }], |
10 | 25 |
|
11 | 26 | "react/jsx-tag-spacing": ["error", { "beforeSelfClosing": "always", "beforeClosing": "never" }] |
12 | 27 | } |
|
0 commit comments