|
24 | 24 | "no-undef": 1,
|
25 | 25 | "no-useless-catch": 1,
|
26 | 26 | "no-prototype-builtins": 1,
|
| 27 | + "no-constant-condition": 0, |
| 28 | + "no-useless-escape": 0, |
| 29 | + "no-console": "error", |
| 30 | + "eqeqeq": ["error", "smart"], |
| 31 | + "capitalized-comments": [ |
| 32 | + "warn", |
| 33 | + "always", |
| 34 | + { |
| 35 | + "ignoreInlineComments": true, |
| 36 | + "ignoreConsecutiveComments": true |
| 37 | + } |
| 38 | + ], |
27 | 39 | "@typescript-eslint/no-namespace": 0,
|
28 | 40 | "@typescript-eslint/no-explicit-any": 0,
|
29 | 41 | "@typescript-eslint/explicit-module-boundary-types": 0,
|
30 | 42 | "@typescript-eslint/no-unused-vars": "warn",
|
31 | 43 | "@typescript-eslint/no-inferrable-types": 0,
|
32 |
| - "@typescript-eslint/no-non-null-assertion": 0 |
| 44 | + "@typescript-eslint/no-non-null-assertion": 0, |
| 45 | + "@typescript-eslint/no-var-requires": 0, |
| 46 | + "@typescript-eslint/naming-convention": [ |
| 47 | + "error", |
| 48 | + { |
| 49 | + "selector": "default", |
| 50 | + "format": ["camelCase"], |
| 51 | + "leadingUnderscore": "allow", |
| 52 | + "trailingUnderscore": "allowSingleOrDouble" |
| 53 | + }, |
| 54 | + { |
| 55 | + "selector": "variable", |
| 56 | + "format": ["camelCase", "UPPER_CASE"], |
| 57 | + "leadingUnderscore": "allow", |
| 58 | + "trailingUnderscore": "allowSingleOrDouble" |
| 59 | + }, |
| 60 | + { |
| 61 | + "selector": "parameter", |
| 62 | + "format": ["camelCase"], |
| 63 | + "trailingUnderscore": "allowSingleOrDouble" |
| 64 | + }, |
| 65 | + { |
| 66 | + "selector": "typeLike", |
| 67 | + "format": ["PascalCase"], |
| 68 | + "trailingUnderscore": "allowSingleOrDouble" |
| 69 | + }, |
| 70 | + { |
| 71 | + "selector": "objectLiteralProperty", |
| 72 | + "format": null |
| 73 | + }, |
| 74 | + { |
| 75 | + "selector": "typeProperty", |
| 76 | + "format": null |
| 77 | + } |
| 78 | + ] |
33 | 79 | }
|
34 | 80 | }
|
0 commit comments