forked from lo1tuma/eslint-plugin-mocha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
32 lines (31 loc) · 1.55 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
'use strict';
module.exports = {
rules: {
'no-exclusive-tests': require('./lib/rules/no-exclusive-tests'),
'no-pending-tests': require('./lib/rules/no-pending-tests'),
'no-skipped-tests': require('./lib/rules/no-skipped-tests'),
'handle-done-callback': require('./lib/rules/handle-done-callback'),
'no-synchronous-tests': require('./lib/rules/no-synchronous-tests'),
'no-global-tests': require('./lib/rules/no-global-tests'),
'no-return-and-callback': require('./lib/rules/no-return-and-callback'),
'valid-test-description': require('./lib/rules/valid-test-description'),
'valid-suite-description': require('./lib/rules/valid-suite-description'),
'no-mocha-arrows': require('./lib/rules/no-mocha-arrows'),
'no-hooks': require('./lib/rules/no-hooks'),
'no-hooks-for-single-case': require('./lib/rules/no-hooks-for-single-case'),
'no-sibling-hooks': require('./lib/rules/no-sibling-hooks'),
'no-top-level-hooks': require('./lib/rules/no-top-level-hooks'),
'no-identical-title': require('./lib/rules/no-identical-title'),
'max-top-level-suites': require('./lib/rules/max-top-level-suites'),
'no-nested-tests': require('./lib/rules/no-nested-tests'),
'no-setup-in-describe': require('./lib/rules/no-setup-in-describe'),
'prefer-arrow-callback': require('./lib/rules/prefer-arrow-callback')
},
configs: {
recommended: {
rules: {
'mocha/no-exclusive-tests': 2
}
}
}
};