|
7 | 7 | },
|
8 | 8 | "extends": [
|
9 | 9 | "plugin:@typescript-eslint/recommended",
|
10 |
| - "plugin:@typescript-eslint/recommended-requiring-type-checking" |
| 10 | + "plugin:@typescript-eslint/recommended-requiring-type-checking", |
| 11 | + "plugin:prettier/recommended" |
11 | 12 | ],
|
12 | 13 | "parser": "@typescript-eslint/parser",
|
13 | 14 | "parserOptions": {
|
|
17 | 18 | "plugins": [
|
18 | 19 | "eslint-plugin-import",
|
19 | 20 | "eslint-plugin-prefer-arrow",
|
20 |
| - "@typescript-eslint" |
| 21 | + "@typescript-eslint", |
| 22 | + "prettier" |
21 | 23 | ],
|
22 | 24 | "rules": {
|
23 |
| - "indent": ["warn", 2], |
| 25 | + // "indent": ["warn", 2], |
24 | 26 | "prefer-rest-params": "off",
|
25 | 27 | "prefer-spread": "off",
|
26 | 28 | "@typescript-eslint/no-unsafe-member-access": "off",
|
|
52 | 54 | "@typescript-eslint/explicit-member-accessibility": [
|
53 | 55 | "error",
|
54 | 56 | {
|
55 |
| - "accessibility": "no-public" |
| 57 | + "accessibility": "no-public" |
56 | 58 | }
|
57 | 59 | ],
|
58 | 60 | "@typescript-eslint/naming-convention": "off",
|
|
68 | 70 | "@typescript-eslint/prefer-for-of": "error",
|
69 | 71 | "@typescript-eslint/prefer-function-type": "error",
|
70 | 72 | "@typescript-eslint/prefer-namespace-keyword": "error",
|
71 |
| - "@typescript-eslint/quotes": [ |
72 |
| - "error", |
73 |
| - "single" |
74 |
| - ], |
75 | 73 | "@typescript-eslint/triple-slash-reference": [
|
76 | 74 | "error",
|
77 | 75 | {
|
|
82 | 80 | ],
|
83 | 81 | "@typescript-eslint/unified-signatures": "error",
|
84 | 82 | "@typescript-eslint/consistent-type-imports": ["warn", { "prefer": "type-imports" }],
|
85 |
| - "@typescript-eslint/object-curly-spacing": ["warn", "always"], |
86 |
| - "arrow-parens": [ |
87 |
| - "off", |
88 |
| - "always" |
89 |
| - ], |
90 |
| - "comma-dangle": "error", |
| 83 | + "arrow-parens": ["off", "always"], |
91 | 84 | "complexity": "off",
|
92 | 85 | "constructor-super": "error",
|
93 |
| - "eqeqeq": [ |
94 |
| - "error", |
95 |
| - "smart" |
96 |
| - ], |
| 86 | + "eqeqeq": ["error", "smart"], |
97 | 87 | "guard-for-in": "error",
|
98 | 88 | "id-blacklist": "off",
|
99 | 89 | "id-match": "off",
|
100 | 90 | "import/order": "off",
|
101 |
| - // "jsdoc/check-alignment": "error", |
102 |
| - // "jsdoc/check-indentation": "error", |
103 |
| - // "jsdoc/newline-after-description": "error", |
104 | 91 | "max-classes-per-file": "off",
|
105 | 92 | "max-len": "off",
|
106 |
| - "new-parens": "error", |
107 | 93 | "no-bitwise": "error",
|
108 | 94 | "no-caller": "error",
|
109 | 95 | "no-cond-assign": "error",
|
|
121 | 107 | }
|
122 | 108 | ],
|
123 | 109 | "no-throw-literal": "error",
|
124 |
| - "no-trailing-spaces": "error", |
125 | 110 | "no-undef-init": "error",
|
126 | 111 | "no-underscore-dangle": "off",
|
127 | 112 | "no-unsafe-finally": "error",
|
128 | 113 | "no-unused-labels": "error",
|
129 | 114 | "no-var": "error",
|
130 | 115 | "object-shorthand": "error",
|
131 |
| - "one-var": [ |
132 |
| - "error", |
133 |
| - "never" |
134 |
| - ], |
| 116 | + "one-var": ["error", "never"], |
135 | 117 | "prefer-arrow/prefer-arrow-functions": "off",
|
136 | 118 | "prefer-const": "error",
|
137 | 119 | "radix": "error",
|
138 |
| - "space-before-function-paren": "error", |
139 | 120 | "spaced-comment": [
|
140 | 121 | "error",
|
141 | 122 | "always",
|
142 | 123 | {
|
143 |
| - "markers": [ |
144 |
| - "/" |
145 |
| - ] |
| 124 | + "markers": ["/"] |
146 | 125 | }
|
147 | 126 | ],
|
148 | 127 | "use-isnan": "error",
|
|
0 commit comments