-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
39 lines (39 loc) · 975 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
{
"env": {
"jest/globals": true
},
"extends": [
"airbnb",
"prettier",
"plugin:prettier/recommended",
"eslint-config-prettier"
],
"parser": "babel-eslint",
"rules": {
"import/no-unresolved": "off",
"react/require-default-props": "off",
"prefer-promise-reject-errors": "off",
"global-require": "off",
"import/prefer-default-export": "off",
"no-use-before-define": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"prefer-destructuring": "off",
"no-console": ["error", {"allow":["error"]}],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100
}
]
},
"plugins": ["prettier", "jest"]
}