forked from eregs/regulations-site
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
78 lines (68 loc) · 1.31 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
ecmaFeatures:
ecmascript: 6
env:
browser: true
node: true
globals:
jQuery: true
$: true
Backbone: true
_: true
console: true
rules:
# Possible errors
no-cond-assign: 0
comma-dangle: 2
no-console: 1
# no-extra-parens: 2
no-irregular-whitespace: 2
quote-props: [2, consistent]
# Best practices
block-scoped-var: 2
eqeqeq: [2, smart]
no-floating-decimal: 2
wrap-iife: [2, inside]
curly: 2
no-alert: 2
no-eval: 2
# no-extend-native: 2
no-with: 2
# Variables
no-use-before-define: 2
no-shadow-restricted-names: 2
# Strict Mode
strict: [2, "global"]
# Node.js
no-mixed-requires: 2
# Stylistic issues
# brace-style: 2
camelcase: 0
new-cap: 0
no-mixed-spaces-and-tabs: 2
# no-lonely-if: 2
semi-spacing: 2
no-underscore-dangle: 0
keyword-spacing: 2
no-trailing-spaces: 2
# space-infix-ops: 2
quotes: [2, single]
semi: [2, "always"]
# Outstanding issues. Correct values commented out above
no-unused-vars: 0
no-extend-native: 0
valid-typeof: 0
brace-style: 0
no-multi-spaces: 0
space-infix-ops: 0
no-return-assign: 0
comma-spacing: 0
eol-last: 0
key-spacing: 0
no-extra-parens: 0
space-unary-ops: 0
no-unused-expressions: 0
no-sequences: 0
dot-notation: 0
consistent-return: 0
no-redeclare: 0
no-lonely-if: 0