forked from RisingStack/example-prometheus-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
49 lines (49 loc) · 842 Bytes
/
.eslintrc.yml
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
---
extends: airbnb-base
env:
node: true
mocha: true
es6: true
parserOptions:
sourceType: strict
rules:
no-console: 0
new-cap: 0
generator-star-spacing:
- 2
- before: true
after: true
no-shadow: 0
require-yield: 0
no-param-reassign: 0
comma-dangle:
- error
- never
no-underscore-dangle: 0
import/no-extraneous-dependencies:
- 2
- devDependencies: true
import/order:
- error
func-names: 0
no-unused-expressions: 0
prefer-arrow-callback: 1
no-use-before-define:
- 2
- functions: false
space-before-function-paren:
- 2
- always
max-len:
- 2
- 120
- 2
semi:
- 2
- never
strict:
- 2
- global
arrow-parens:
- 2
- always