-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
33 lines (33 loc) · 844 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
{
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"env": {
"browser": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"react/jsx-filename-extension": "off",
"semi": ["error", "always"],
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"import/no-extraneous-dependencies": "off",
"react-hooks/rules-of-hooks": "error",
"react/button-has-type": "off",
"import/prefer-default-export": "off",
"prefer-promise-reject-errors": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off"
}
}