/
.eslint.json
124 lines (124 loc) · 3.81 KB
/
.eslint.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"env": {
"es6": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"prettier",
"airbnb"
],
"plugins": ["@typescript-eslint", "simple-import-sort"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"project": "./tsconfig.json",
"tsconfigRootDir": "./"
},
"settings": {
"react": {
"version": "detect"
},
"import/ignore": ["node_modules"],
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".ts", ".tsx"]
}
}
},
"rules": {
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"no-fallthrough": "off",
"no-return-await": "off",
"no-undef": "off",
"no-useless-constructor": "off",
"react/no-unescaped-entities": "off",
"react/prop-types": "off",
"react/display-name": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
"react/function-component-definition": "off",
"react/jsx-one-expression-per-line": "off",
"import/no-cycle": "off",
"camelcase": "off",
"quotes": [2, "double", { "avoidEscape": true }],
"object-curly-newline": "off",
"operator-linebreak": "off",
"implicit-arrow-linebreak": "off",
"no-confusing-arrow": "off",
"prefer-template": "off",
"default-case": "off",
"default-param-last": "off",
"no-duplicate-case": "off",
"global-require": "off",
"arrow-parens": "off",
"no-shadow": 0,
"jsx-a11y/href-no-hash": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/no-array-index-key": ["off"],
"react/jsx-filename-extension": "off",
"max-len": "off",
"no-use-before-define": "off",
"jest/no-disabled-tests": "off",
"spaced-comment": "off",
"react/destructuring-assignment": "off",
"prefer-destructuring": "off",
"import/newline-after-import": "off",
"no-underscore-dangle": "off",
"no-console": "off",
"react/sort-comp": "off",
"import/no-dynamic-require": "off",
"func-names": "off",
"no-return-assign": "off",
"consistent-return": "off",
"array-callback-return": "off",
"eslint-comments/no-unlimited-disable": "off",
"no-restricted-globals": "off",
"no-bitwise": "off",
"no-plusplus": "off",
"react/no-this-in-sfc": "off",
"react/no-access-state-in-setstate": "off",
"react-native/no-inline-styles": "off",
"import/no-named-as-default": "off",
"no-param-reassign": "off",
"import/no-unresolved": "off",
"react/require-default-props": "off",
"no-restricted-syntax": "off",
"lines-between-class-members": "off",
"no-nested-ternary": "off",
"no-unneeded-ternary": "off",
"no-useless-escape": "off",
"react/prefer-stateless-function": "off",
"react/jsx-no-bind": "off",
"no-unreachable": "off",
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"arrow-body-style": "off",
"@typescript-eslint/ban-types": "off",
"react/jsx-closing-bracket-location": "off",
"function-paren-newline": "off",
"guard-for-in": "off"
}
}