-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
50 lines (50 loc) · 887 Bytes
/
.eslintrc
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
# vim: set ft=yaml:
---
env:
browser: true
node: true
plugins:
- "cflint"
rules:
# Possible Errors
no-reserved-keys: 2
quotes:
- 2
- "single"
# Best Practices
block-scoped-var: 2
default-case: 2
guard-for-in: 2
no-else-return: 2
no-floating-decimal: 2
no-self-compare: 2
no-void: 2
radix: 2
## Possible that this will switch to a "2" later
wrap-iife: 2
# Strict Mode
global-strict:
- 2
- "always"
# Variables
no-catch-shadow: 2
# Node.js
handle-callback-err: 2
# Stylistic Issues
brace-style:
- 1
- "1tbs"
camelcase: 0
comma-style:
- 2
- "last"
no-lonely-if: 2
no-nested-ternary: 2
no-underscore-dangle: 0
quote-props:
- 1
- "as-needed"
semi:
- 2
- "always"
space-unary-ops: 2