-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.eslintrc
46 lines (46 loc) · 855 Bytes
/
.eslintrc
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
{
"extends": [
"airbnb-base",
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:jsdoc/recommended",
"plugin:node/recommended",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"no-underscore-dangle": 0,
"prettier/prettier": [
"error",
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5"
}
]
},
"overrides": [{
"files": ["example.js", "example_async.js"],
"rules": {
"import/no-unresolved": 0,
"jsdoc/require-jsdoc": 0,
"no-console": 0,
"node/no-missing-require": 0
}
},
{
"files": "**/*.test.js",
"rules": {
"node/no-unpublished-require": 0
}
},
{
"files": "test/unit/MyQ/constructor.test.js",
"rules": {
"jest/no-try-expect": 0,
"no-new": 0
}
}]
}