-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xo-config.json
46 lines (46 loc) · 865 Bytes
/
.xo-config.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
40
41
42
43
44
45
46
{
"envs": [
"browser"
],
"extends": "xo-react",
"globals": [
"browser",
"__features__",
"__featuresMeta__",
"__filebasename"
],
"rules": {
"import/no-cycle": "off",
"import/no-unassigned-import": "off",
"no-alert": "off",
"no-unused-vars": "off",
"react/jsx-key": "off",
"react/react-in-jsx-scope": "off",
"import/newline-after-import": "error",
"import/order": [
"error",
{
"groups": [
[
"builtin",
"external"
]
],
"newlines-between": "always-and-inside-groups"
}
],
"import/prefer-default-export": "error",
"react/function-component-definition": [
"error",
{
"namedComponents": "function-declaration"
}
]
},
"settings:comment": "We don't use React, so it can't be automatically detected by the linter",
"settings": {
"react": {
"version": "16.13"
}
}
}