Skip to content

Commit f5d9cf3

Browse files
author
Will Fleming
committed
Add app's eslintrc
The current eslintc is useless.
1 parent f3ca402 commit f5d9cf3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
"node": true
44
},
55
"rules": {
6+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
7+
"comma-dangle": [2, "never"],
8+
"comma-style": [2, "first", { exceptions: {ArrayExpression: true, ObjectExpression: true} }],
9+
"curly": 2,
10+
"eqeqeq": [2, "allow-null"],
11+
"no-shadow-restricted-names": 2,
12+
"no-undef": 2,
13+
"no-use-before-define": 2,
14+
"radix": 2,
15+
"semi": 2,
16+
"space-infix-ops": 2,
617
"strict": 0
18+
},
19+
"globals": {
20+
"AnalysisView": true,
21+
"PollingView": true,
22+
"Prism": true,
23+
"Spinner": true,
24+
"Timer": true,
25+
"moment": true
726
}
827
}

0 commit comments

Comments
 (0)