-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.json
48 lines (48 loc) · 1.13 KB
/
.eslintrc.json
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
{
"extends": ["airbnb-base"],
"plugins": ["jsdoc"],
"env": {
"node": true,
"jasmine": true
},
"globals": {
"expectAsync": true
},
"rules": {
"object-curly-newline": ["error", {
"ObjectExpression": { "multiline": true, "minProperties": 1 },
"ObjectPattern": { "multiline": true },
"ImportDeclaration": "never",
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
}],
"max-len": "off",
"no-await-in-loop": 0,
"no-restricted-syntax": 0,
"func-names": "off",
"prefer-arrow-callback": "off",
"class-methods-use-this": [
"error",
{
"exceptMethods": [
]
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*-test.js"
]
}
],
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"no-underscore-dangle": "off",
"no-continue": 0,
// Ensure that all function args are typed
"jsdoc/require-param": "error",
"jsdoc/require-param-type": "error"
},
"parserOptions": {
"ecmaVersion": 2020
}
}