Skip to content

Commit 4da053f

Browse files
committed
Add an eslint config and update the code to match it.
1 parent f60f922 commit 4da053f

File tree

4 files changed

+515
-406
lines changed

4 files changed

+515
-406
lines changed

.eslintrc.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"extends": "google",
3+
4+
"rules": {
5+
"no-var": "off",
6+
"indent": [
7+
"error",
8+
2
9+
],
10+
"linebreak-style": [
11+
"error",
12+
"unix"
13+
],
14+
"quotes": [
15+
"error",
16+
"double", {
17+
"avoidEscape": true
18+
}
19+
],
20+
"semi": [
21+
"error",
22+
"always"
23+
],
24+
"max-len": [
25+
"warn", {
26+
"ignoreComments": true
27+
}
28+
],
29+
"prefer-spread": ["off"],
30+
"prefer-rest-params": ["off"],
31+
"camelcase" : ["off"]
32+
}
33+
}

0 commit comments

Comments
 (0)