Skip to content

Commit 81ef66c

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

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.eslintrc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
{
22
"env": {
3-
"node": true
3+
"browser": true,
4+
"jquery": true
45
},
56
"rules": {
7+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
8+
"comma-dangle": [2, "never"],
9+
"comma-style": [2, "first", { exceptions: {ArrayExpression: true, ObjectExpression: true} }],
10+
"curly": 2,
11+
"eqeqeq": [2, "allow-null"],
12+
"no-shadow-restricted-names": 2,
13+
"no-undef": 2,
14+
"no-use-before-define": 2,
15+
"radix": 2,
16+
"semi": 2,
17+
"space-infix-ops": 2,
618
"strict": 0
19+
},
20+
"globals": {
21+
"AnalysisView": true,
22+
"PollingView": true,
23+
"Prism": true,
24+
"Spinner": true,
25+
"Timer": true,
26+
"moment": true
727
}
828
}

0 commit comments

Comments
 (0)