-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
37 lines (36 loc) · 1022 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
{
"extends": ["airbnb", "airbnb-typescript","plugin:react-hooks/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true
},
"rules": {
"quotes": ["error", "single"],
"max-len": [1,120,2],
"no-use-before-define": "off",
"no-param-reassign": ["error", { "props": false }],
"import/prefer-default-export": "off",
"@typescript-eslint/naming-convention": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/no-autofocus": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
"react/no-array-index-key": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}