-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
index.js
57 lines (56 loc) · 2.6 KB
/
index.js
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
'use strict'
module.exports = {
rules: {
'expect-matcher': require('./lib/rules/expect-matcher'),
'expect-single-argument': require('./lib/rules/expect-single-argument'),
'named-spy': require('./lib/rules/named-spy'),
'no-focused-tests': require('./lib/rules/no-focused-tests'),
'no-disabled-tests': require('./lib/rules/no-disabled-tests'),
'no-describe-variables': require('./lib/rules/no-describe-variables'),
'no-suite-dupes': require('./lib/rules/no-suite-dupes'),
'no-spec-dupes': require('./lib/rules/no-spec-dupes'),
'missing-expect': require('./lib/rules/missing-expect'),
'no-suite-callback-args': require('./lib/rules/no-suite-callback-args'),
'valid-expect': require('./lib/rules/valid-expect'),
'no-assign-spyon': require('./lib/rules/no-assign-spyon'),
'no-unsafe-spy': require('./lib/rules/no-unsafe-spy'),
'no-global-setup': require('./lib/rules/no-global-setup'),
'no-pending-tests': require('./lib/rules/no-pending-tests'),
'no-promise-without-done-fail': require('./lib/rules/no-promise-without-done-fail'),
'no-expect-in-setup-teardown': require('./lib/rules/no-expect-in-setup-teardown'),
'new-line-between-declarations': require('./lib/rules/new-line-between-declarations'),
'new-line-before-expect': require('./lib/rules/new-line-before-expect'),
'prefer-jasmine-matcher': require('./lib/rules/prefer-jasmine-matcher'),
'prefer-promise-strategies': require('./lib/rules/prefer-promise-strategies'),
'prefer-toHaveBeenCalledWith': require('./lib/rules/prefer-toHaveBeenCalledWith'),
'prefer-toBeUndefined': require('./lib/rules/prefer-toBeUndefined')
},
configs: {
recommended: {
rules: {
'jasmine/expect-matcher': 1,
'jasmine/expect-single-argument': 1,
'jasmine/named-spy': 0,
'jasmine/no-focused-tests': 2,
'jasmine/no-disabled-tests': 1,
'jasmine/no-describe-variables': 0,
'jasmine/no-suite-dupes': 1,
'jasmine/no-spec-dupes': 1,
'jasmine/missing-expect': 0,
'jasmine/no-suite-callback-args': 2,
'jasmine/no-assign-spyon': 0,
'jasmine/no-unsafe-spy': 1,
'jasmine/no-global-setup': 2,
'jasmine/no-pending-tests': 1,
'jasmine/no-promise-without-done-fail': 1,
'jasmine/no-expect-in-setup-teardown': 1,
'jasmine/new-line-between-declarations': 1,
'jasmine/new-line-before-expect': 1,
'jasmine/prefer-jasmine-matcher': 1,
'jasmine/prefer-promise-strategies': 1,
'jasmine/prefer-toHaveBeenCalledWith': 1,
'jasmine/prefer-toBeUndefined': 0
}
}
}
}