-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
59 lines (59 loc) · 1.57 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
58
59
{
"extends": [
"./node_modules/gts/",
"next",
"plugin:jsdoc/recommended",
"plugin:import/errors"
],
"plugins": [
"prefer-arrow",
"header",
"import"
],
"rules": {
"prefer-arrow/prefer-arrow-functions": [
"error",
{
"disallowPrototype": true,
"singleReturnOnly": true,
"classPropertiesAllowed": false
}
],
"header/header": [
2,
"block",
[
"*********************************************************",
{
"pattern": "^ \\* .*$",
"template": " * [Module description.]"
},
" *",
{
"pattern": "^ \\* @author ([^<]+\\s<[^>]+>(, )?)+",
"template": " * @author YourName <YourMailAddress>"
},
{
"pattern": "^ \\* @version .*$",
"template": " * @version 1.0.0"
},
" *",
" * Copyright (C) 2021 hello-slide",
" *********************************************************"
]
],
"jsdoc/require-jsdoc": [
"error"
],
"sort-imports": 0,
"import/order": [
2,
{
"alphabetize": {
"order": "asc"
}
}
],
"react-hooks/exhaustive-deps": "off"
}
}