-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
63 lines (62 loc) · 1.2 KB
/
.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
55
56
57
58
59
60
61
62
63
# ESLint configuration
# Intended to be a strict superset of Node core style, with the exception of
# rules which would cause breakage in supported Node versions.
# Uses Airbnb's styles where they don't conflict with Node core or my prefs.
---
extends: standard
env:
node: true
mocha: true
es6: true
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
generator-star-spacing:
- 2
- before: true
after: true
no-shadow: 0
import/no-unresolved: 0
import/extensions: 0
require-yield: 0
no-param-reassign: 0
comma-dangle: 0
no-underscore-dangle: 0
no-control-regex: 0
import/no-extraneous-dependencies:
- 2
- devDependencies: true
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
- 180
- 2
semi:
- 2
- never
strict:
- 2
- global
arrow-parens:
- 2
- always
# custom rules
import/prefer-default-export: 0
no-plusplus: 0
no-console: 0
no-undef: 0
new-cap: 0
no-unused-vars: 0
quote-props: 0
dot-notation: 0
# vi: set sts=2 sw=2 et ft=yaml: