-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 993 Bytes
/
.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
38
39
{
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"rules": {
"react/jsx-props-no-spreading": "off",
"import/no-unresolved": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": 4,
"printWidth": 100
}
],
"import/no-extraneous-dependencies": "off",
"react/prop-types": "off",
"react/default-props-match-prop-types": "off",
"react/no-did-mount-set-state": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js"]
}
]
},
"overrides": [
{
"files": ["*.test.js"],
"rules": {
"global-require": 0,
"no-underscore-dangle": 0
}
}
],
"plugins": ["react", "prettier"],
"env": {
"browser": true
}
}