-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
57 lines (57 loc) · 1.29 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"extends": [
"next/core-web-vitals",
"plugin:adonis/typescriptApp"
],
"plugins": [
"sort-destructure-keys"
],
"rules": {
"react/jsx-wrap-multilines": [
"error",
{
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "parens-new-line",
"condition": "parens-new-line",
"logical": "parens-new-line",
"prop": "parens-new-line"
}
],
"import/no-unresolved": "error",
"import/order": [
"error",
{
"groups": [
// Built-in imports (come from NodeJS native) go first,
"builtin",
// External imports,
"external",
// Absolute imports,
"internal",
// Relative imports, the sibling and parent types they can be mingled together,
[
"sibling",
"parent"
],
// index imports,
"index",
// everything else I guess,
"unknown"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"sort-destructure-keys/sort-destructure-keys": [
2,
{
"caseSensitive": false
}
]
}
}