forked from github-tools/github-release-notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
54 lines (54 loc) · 992 Bytes
/
.eslintrc.yaml
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
parser: babel-eslint
env:
node: true
mocha: true
es6: true
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
impliedStrict: true
allowImportExportEverywhere: false
plugins:
- mocha
- babel
extends:
- prettier
rules:
no-undef: 1
no-unreachable: 1
no-empty: error
array-callback-return: error
no-var: error
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