-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
45 lines (45 loc) · 1.76 KB
/
.prettierrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/ban-ts-ignore": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/interface-name-prefix": "error",
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-includes": "off",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"camelcase": "off",
"eqeqeq": ["error", "smart"],
"no-array-constructor": "off",
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
"no-else-return": "error",
"no-empty-function": "off",
"no-template-curly-in-string": "error",
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-var": "error",
"prefer-const": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"proseWrap": "always",
"react/display-name": "off",
"react/prop-types": "off",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"useTabs": false
}