-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
42 lines (42 loc) · 1.13 KB
/
.eslintrc.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
module.exports = {
"extends": "eslint:recommended",
"env": {
"es6": true,
"amd": true,
"node": true,
"jquery": true,
"browser": true,
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"plugins": [
"tape"
],
"globals": {
"window": true,
"document": true
},
"rules": {
"tape/assertion-message": ["off", "always"],
"tape/max-asserts": ["off", 5],
"tape/no-identical-title": "error",
"tape/no-ignored-test-files": "error",
"tape/no-only-test": "error",
"tape/no-skip-assert": "error",
"tape/no-skip-test": "error",
"tape/no-statement-after-end": "error",
"tape/no-unknown-modifiers": "error",
"tape/test-ended": "off",
"tape/test-title": ["error", "if-multiple"],
"tape/use-t-well": "error",
"tape/use-t": "error",
"tape/use-test": "error",
"no-console": "off",
"no-empty": "off",
"no-useless-escape": "off",
"no-control-regex": "off",
"no-unused-vars": "off",
}
};