forked from github-tools/github-release-notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
63 lines (63 loc) · 1.23 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
parser: babel-eslint
env:
es6: true
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
impliedStrict: true
allowImportExportEverywhere: false
plugins:
- mocha
- babel
extends:
- semistandard
rules:
no-undef: 1
no-unreachable: 1
no-empty: error
array-callback-return: error
no-var: error
indent:
- error
- 4
-
SwitchCase: 1
space-before-function-paren:
- error
- never
no-debugger: 0
prefer-const: error
strict: error
no-template-curly-in-string: error
consistent-return: error
no-multiple-empty-lines:
- error
-
max: 1
maxBOF: 0
no-lonely-if: error
new-parens: error
eol-last: error
no-array-constructor: error
arrow-body-style:
- error
- as-needed
prefer-arrow-callback:
- error
-
allowNamedFunctions: true
prefer-destructuring:
- error
-
object: true
array: false
prefer-spread: error
prefer-rest-params: error
prefer-promise-reject-errors: 0
valid-typeof: 0
overrides:
files:
- "*.spec.js"
env:
mocha: true