-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
59 lines (59 loc) · 2.04 KB
/
.eslintrc.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"standard-with-typescript",
"prettier"
],
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"react"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@react/react-in-jsx-scope": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"react/react-in-jsx-scope": "off",
"react/destructuring-assignment": "off",
"jsx-a11y/anchor-is-valid": "off",
"react-hooks/exhaustive-deps": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"class-methods-use-this": "off",
"@typescript-eslint/no-unused-vars": "off",
"@next/next/no-document-import-in-page": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"react/jsx-no-bind": [
"error",
{
"ignoreDOMComponents": false,
"ignoreRefs": false,
"allowArrowFunctions": true,
"allowFunctions": true,
"allowBind": false
}
],
"no-unneeded-ternary": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off"
}
}