forked from rokka-io/rokka.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (42 loc) · 900 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
env:
node: true
browser: true
es6: true
ecmaFeatures:
arrowFunctions: true
blockBindings: true
defaultParams: true
modules: true
objectLiteralShorthandProperties: true
templateStrings: true
parserOptions:
sourceType: "module"
rules:
no-undef: 2
no-unused-vars: 2
no-use-before-define: 2
no-empty: 2
no-func-assign: 2
no-console: 2
callback-return: 2
global-require: 2
no-path-concat: 2
no-extra-semi: 2
no-trailing-spaces: 2
semi: 2
max-len: [2, 100, 4]
comma-style: [2, "last", { exceptions: { VariableDeclaration: true } }]
comma-spacing: 2
consistent-this: [2, "self"]
no-unneeded-ternary: 2
indent: [2, 2, { SwitchCase: 1 }]
no-shadow: 2
eqeqeq: 2
curly: 2
camelcase: 2
quotes: [2, "single", "avoid-escape"]
space-unary-ops: 2
linebreak-style: 2
new-cap: 2
no-multiple-empty-lines: [2, { max: 2 }]
complexity: [2, 8]