-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
33 lines (33 loc) · 853 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
{
"root": true,
"extends": "@zilahir/eslint-config/react",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"no-console": ["error", { "allow": ["debug", "error"] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"semi": [2, "never"],
"no-bitwise": ["error", { "allow": ["~"] }],
"react/forbid-prop-types": 2,
"react/jsx-wrap-multilines": 2,
"arrow-parens": [1, "as-needed"],
"jsx-a11y/no-static-element-interactions": [
"error",
{
"handlers": ["onClick"]
}
]
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
}
}