-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (37 loc) · 1.14 KB
/
.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
37
{
"extends": ["airbnb-typescript", "plugin:react-hooks/recommended", "prettier"],
"plugins": ["prettier", "react", "import", "react-hooks"],
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/order": "warn",
"react/destructuring-assignment": "off",
"react/jsx-closing-bracket-location": "off",
"react/prop-types": "off",
"react/jsx-boolean-value": "off",
"react/jsx-curly-newline": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-wrap-multilines": "off",
"react/require-default-props": "off",
"react/react-in-jsx-scope": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"prefer-arrow-callback": "off",
"no-underscore-dangle": "off",
"no-nested-ternary": "off",
"no-bitwise": "off"
},
"ignorePatterns": ["maintenance.js", "sentry.*.config.js"]
}