-
Notifications
You must be signed in to change notification settings - Fork 64
/
.eslintrc
41 lines (38 loc) · 1.03 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
# ESLint
#
# Configuration: http://eslint.org/docs/user-guide/configuring
# Rules: http://eslint.org/docs/rules/
---
env:
node: true
globals:
Promise: true
rules:
array-bracket-spacing: [2, "never"]
brace-style: [2, "1tbs"]
comma-style: [2, "last"]
computed-property-spacing: [2, "never"]
curly: [2, "multi-line"]
default-case: 2
func-style: [2, "declaration"]
guard-for-in: 2
keyword-spacing: 2
newline-after-var: 2
no-floating-decimal: 2
no-inner-declarations: [2, "both"]
no-multiple-empty-lines: 2
no-nested-ternary: 2
no-path-concat: 2
no-undef: 2
no-unused-vars: 2
object-curly-spacing: [2, "never"]
quotes: [2, "single", "avoid-escape"]
radix: 2
semi: [2, "always"]
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "always"]
space-in-parens: [2, "never"]
spaced-comment: [2, "always"]
strict: [2, "global"]
valid-jsdoc: [2, {"requireReturn": false, "prefer": {"return": "returns"}}]
wrap-iife: 2