-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc.json
36 lines (36 loc) · 947 Bytes
/
.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
{
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"parser": "@typescript-eslint/parser",
"plugins": ["react"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"arrow-body-style": "off",
"no-use-before-define": "off",
"no-undef": "off",
"no-plusplus": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/require-default-props": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
"no-shadow": "off",
"import/extensions": ["error", "never"],
"no-underscore-dangle": "off",
"no-console": "warn",
"react/function-component-definition": "off"
},
"settings": {
"import/resolver": {
"typescript": {
"project": "."
}
}
}
}