-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 942 Bytes
/
.eslintrc
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb",
"airbnb-typescript",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"project": "tsconfig.json"
},
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": ["webpack.config.js", "custom.d.ts"],
"rules": {
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",
"jsx-a11y/img-redundant-alt": "off",
"key-spacing": "off",
"no-multi-spaces": "off",
"react/function-component-definition": "off",
"react/jsx-fragments": "off",
"react/jsx-props-no-spreading": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/no-danger": "off"
}
}