Skip to content

Commit c2a55c8

Browse files
Lint the codebase and apply some light refactoring
1 parent dd4b0e4 commit c2a55c8

File tree

7 files changed

+88
-492
lines changed

7 files changed

+88
-492
lines changed

.eslintrc

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,24 @@
99
"es6": true
1010
},
1111
"rules": {
12-
"arrow-parens": 0,
1312
"quotes": 0,
14-
"no-multi-str": 0,
15-
"comma-dangle": [2, "only-multiline"],
16-
"indent": [2, 2, { "SwitchCase": 1, "VariableDeclarator": { "var": 2, "let": 2, "const": 3 } }],
13+
"no-unused-vars": 0,
14+
"comma-dangle": [
15+
2,
16+
"only-multiline"
17+
],
18+
"indent": [
19+
2,
20+
2,
21+
{
22+
"SwitchCase": 1,
23+
"VariableDeclarator": {
24+
"var": 2,
25+
"let": 2,
26+
"const": 3
27+
}
28+
}
29+
],
1730
"one-var": 0,
1831
"promise/catch-or-return": 2
1932
}

0 commit comments

Comments
 (0)