-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
28 lines (28 loc) · 874 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
{
"extends": [
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"],
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".js", ".jsx"] }],
"arrow-body-style": "off",
"react/jsx-props-no-spreading": "off",
"react/state-in-constructor": [1, "never"],
"react/no-array-index-key": "off",
"react/require-default-props": "off",
"react/function-component-definition": "off",
"jsx-a11y/label-has-associated-control": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-unsafe-assignment": "off"
},
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}