-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (39 loc) · 950 Bytes
/
.eslintrc.json
File metadata and controls
39 lines (39 loc) · 950 Bytes
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
{
"env": {
"commonjs": true,
"es6": true,
"node": true,
"jest/globals": true
},
"plugins": ["prettier", "jsdoc", "jest"],
"extends": [
"plugin:prettier/recommended",
"prettier/standard",
"plugin:jsdoc/recommended",
"plugin:jest/all"
],
"globals": {
"jest": true,
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"prettier/prettier": ["error", { "singleQuote": true, "semi": false }],
"eqeqeq": ["error", "always"],
"require-jsdoc": "error",
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"complexity": ["error", 7],
"jsdoc/valid-types": 1,
"jsdoc/check-tag-names": 0,
"no-console": "warn",
"no-alert": "warn",
"no-debugger": "error"
}
}