This repository has been archived by the owner on Dec 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.eslintrc.json
70 lines (70 loc) · 1.61 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"root": true,
"parser": "@babel/eslint-parser",
"plugins": [
"@babel",
"promise",
"jsdoc"
],
"extends": [
"airbnb-base",
"plugin:jsdoc/recommended",
"plugin:promise/recommended"
],
"parserOptions": {
"sourceType": "module"
},
"settings": {
"jsdoc": {
"mode": "typescript"
}
},
"rules": {
"promise/always-return": "off",
"max-len": "off",
"no-console": "off",
"no-restricted-syntax": "off",
"import/no-cycle": "off",
"no-await-in-loop": "off",
"no-plusplus": "off",
"class-methods-use-this": "warn",
"import/prefer-default-export": "off",
"import/extensions": [
"error",
"ignorePackages"
],
"max-classes-per-file": "off",
"no-underscore-dangle": "off",
"linebreak-style": "off",
"no-continue": "off",
"dot-notation": "off",
"no-param-reassign": "off",
"import/no-dynamic-require": "off",
"import/no-mutable-exports": "off",
"global-require": "off",
"prefer-destructuring": [
"error",
{
"array": false,
"object": true
},
{
"enforceForRenamedProperties": false
}
],
"new-cap": "off",
"no-invalid-this": "off",
"no-unused-expressions": "off",
"object-curly-spacing": "off",
"semi": "off",
"@babel/new-cap": "error",
"@babel/no-invalid-this": "off",
"@babel/no-unused-expressions": "error",
"@babel/object-curly-spacing": "error",
"@babel/semi": "error",
"func-names": "off",
"space-before-function-paren": "off",
"curly": ["error", "all"],
"import/no-unresolved": "off"
}
}