forked from webex/webex-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc-es6.yml
89 lines (89 loc) · 1.44 KB
/
.eslintrc-es6.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
env:
es6: true
extends: "./.eslintrc-es5.yml"
parserOptions:
ecmaVersion: 6
sourceType: "module"
parser: "babel-eslint"
rules:
#
# Strict Mode
# http://eslint.org/docs/rules/#strict-mode
#
strict:
# No need because modules force strict mode
- 2
- "never"
#
# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
#
require-jsdoc:
- 2
-
require:
FunctionDeclaration: true
MethodDefinition: true
ClassDeclaration: true
quotes:
- 2
- "backtick"
#
# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
#
arrow-body-style:
- 2
- "as-needed"
arrow-parens:
- 2
- "always"
arrow-spacing:
- 2
-
after: true
before: true
constructor-super:
- 2
# There seems to be a bug in generator-star-spacing; it should be
# [2, {"before": false, "after": true}]
generator-star-spacing:
- 0
no-class-assign:
- 2
no-confusing-arrow:
- 2
no-const-assign:
- 2
no-dupe-class-members:
- 2
no-new-symbol:
- 2
no-this-before-super:
- 2
no-useless-constructor:
- 2
no-var:
- 2
object-shorthand:
- 2
prefer-arrow-callback:
- 2
prefer-const:
- 2
prefer-reflect:
- 2
prefer-rest-params:
- 2
prefer-spread:
- 2
prefer-template:
- 2
require-yield:
- 2
template-curly-spacing:
- 2
- "never"
yield-star-spacing:
- 2
- "after"