This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode.js
120 lines (119 loc) · 1.79 KB
/
node.js
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
"use strict";
module.exports =
{
"rules":
{
"no-console": 0,
"space-infix-ops": 2,
"linebreak-style":
[
2,
"unix"
],
"semi":
[
2,
"always"
],
"comma-spacing":
[
2,
{
"before": false,
"after": true
}
],
"no-unused-vars":
[
2,
{
"args": "all",
"vars": "all"
}
],
"complexity":
[
2,
8
],
"no-else-return": 2,
"no-empty": 2,
"no-cond-assign": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-unreachable": 2,
"valid-typeof": 2,
"consistent-return": 0,
"curly": 2,
"no-extra-bind": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-native-reassign": 2,
"no-param-reassign": 2,
"no-return-assign": 2,
"no-warning-comments": 1,
"radix": 2,
"vars-on-top": 2,
"wrap-iife": [2, "any"],
"no-use-before-define": 2,
"no-shadow": 2,
"no-path-concat": 2,
"func-names": 2,
"no-lonely-if": 2,
"no-negated-condition": 2,
"no-nested-ternary": 2,
"quotes":
[
2,
"double",
{
"allowTemplateLiterals": true
}
],
"space-before-function-paren":
[
2,
{
"anonymous": "never",
"named": "never"
}
],
"object-curly-newline":
[
0
],
"object-property-newline": 2,
"no-sync": 2,
"brace-style":
[
2,
"allman"
],
"space-in-parens":
[
2,
"never"
]
},
"env":
{
"es6": true,
"node": true,
"browser": false
},
"extends":
[
"eslint:recommended"
],
"parserOptions":
{
"sourceType": "module",
"ecmaFeatures":
{
"experimentalObjectRestSpread": true
}
},
"plugins":
[
]
};