-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 1.14 KB
/
.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
{
"extends": ["react-app", "prettier", "airbnb"],
"plugins": ["prettier", "react"],
"rules": {
"prettier/prettier": ["off"],
"react/jsx-filename-extension": 0,
"react/jsx-curly-brace-presence": "off",
"max-len": ["error", { "code": 160, "tabWidth": 2 }],
"import/no-unresolved": "off",
"object-curly-newline": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"react/jsx-one-expression-per-line": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/label-has-associated-control": [
"warn",
{
"labelComponents": ["label"],
"labelAttributes": ["htmlFor"],
"controlComponents": ["Text"]
}
],
"dot-notation": ["warn", { "allowPattern": "^[a-z]+(_[a-z]+)+$" }],
"no-param-reassign": ["error", { "props": false }],
"import/extensions": ["warn", "never"],
"lines-between-class-members": "off",
"linebreak-style": "off",
"react/no-array-index-key": "off",
"react/jsx-props-no-spreading": "off",
"react-hooks/rules-of-hooks": ["off"],
"react/prop-types": "off"
}
}