forked from sebastianekstrom/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (41 loc) · 897 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
env:
node: true
rules:
indent: 2
brace-style: [2, "1tbs"]
comma-style: [2, "last"]
default-case: 2
func-style: [2, "declaration"]
no-floating-decimal: 2
no-nested-ternary: 2
no-undefined: 2
radix: 2
space-before-function-paren: [2, "never"]
space-before-blocks: 2
spaced-comment: [2, "always", { exceptions: ["-"]}]
valid-jsdoc: [1, { requireReturn: false, prefer: { return": "returns" }}]
wrap-iife: 2
guard-for-in: 2
strict: [2, "global"]
global-strict: 0
no-alert: 2
camelcase: 1
curly: [2, "all"]
eqeqeq: [2, "allow-null"]
no-empty: 2
no-underscore-dangle: 0
no-use-before-define: 2
no-obj-calls: 2
new-cap: 2
no-shadow: 1
no-invalid-regexp: 2
comma-dangle: [2, "never"]
no-undef: 2
no-new: 2
no-extra-semi: 2
no-debugger: 2
no-caller: 1
semi: 2
quotes: [1, "single", "avoid-escape"]
no-unreachable: 2
eol-last: 1