-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.yaml
87 lines (81 loc) · 2.21 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
extends:
- sinon
- "plugin:prettier/recommended"
- "plugin:jsdoc/recommended"
env:
browser: true
node: true
globals:
Map: false
Set: false
Symbol: false
BigInt: false
Promise: false
Int8Array: false
Uint8Array: false
Uint8ClampedArray: false
Int16Array: false
Uint16Array: false
Int32Array: false
Uint32Array: false
Float32Array: false
Float64Array: false
plugins:
- ie11
- jsdoc
- "@sinonjs/no-prototype-methods"
rules:
strict: [error, "global"]
ie11/no-collection-args: error
ie11/no-for-in-const: error
ie11/no-loop-func: warn
ie11/no-weak-collections: error
"@sinonjs/no-prototype-methods/no-prototype-methods": error
overrides:
- files: "*.test.*"
plugins:
- mocha
env:
mocha: true
rules:
jsdoc/check-alignment: off
jsdoc/check-examples: off
jsdoc/check-indentation: off
jsdoc/check-param-names: off
jsdoc/check-syntax: off
jsdoc/check-tag-names: off
jsdoc/check-types: off
jsdoc/implements-on-classes: off
jsdoc/match-description: off
jsdoc/newline-after-description: off
jsdoc/no-types: off
jsdoc/no-undefined-types: off
jsdoc/require-description: off
jsdoc/require-description-complete-sentence: off
jsdoc/require-example: off
jsdoc/require-hyphen-before-param-description: off
jsdoc/require-jsdoc: off
jsdoc/require-param: off
jsdoc/require-param-description: off
jsdoc/require-param-name: off
jsdoc/require-param-type: off
jsdoc/require-returns: off
jsdoc/require-returns-check: off
jsdoc/require-returns-description: off
jsdoc/require-returns-type: off
jsdoc/valid-types: off
"@sinonjs/no-prototype-methods/no-prototype-methods": off
max-nested-callbacks:
- warn
- 6
mocha/handle-done-callback: error
mocha/no-exclusive-tests: error
mocha/no-global-tests: error
mocha/no-hooks-for-single-case: off
mocha/no-identical-title: error
mocha/no-mocha-arrows: error
mocha/no-nested-tests: error
mocha/no-return-and-callback: error
mocha/no-sibling-hooks: error
mocha/no-skipped-tests: error
mocha/no-top-level-hooks: error