This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
92 lines (87 loc) · 2.63 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"es6": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "error",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-loop-func": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": "error",
"arrow-parens": ["error", "always"],
"class-methods-use-this": "off",
"consistent-return": "off",
"curly": "off",
"default-case": "off",
"dot-notation": "off",
"func-names": "off",
"function-paren-newline": ["error", "consistent"],
"guard-for-in": "off",
"import/extensions": "off",
"import/newline-after-import": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true } ],
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"linebreak-style": ["warn", "unix"],
"lines-between-class-members": "off",
"max-len": "off",
"newline-per-chained-call": "off",
"no-await-in-loop": "off",
"no-case-declarations": "off",
"no-console": "off",
"no-continue": "off",
"no-dupe-class-members": "off",
"no-loop-func": "off",
"no-mixed-operators": ["error", { "groups": [ ["&", "|", "^", "~", "<<", ">>", ">>>"], ["&&", "||"] ] }],
"no-multi-assign": "off",
"no-multiple-empty-lines": "off",
"no-new": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off",
"no-shadow": "off",
"no-tabs": "off",
"no-underscore-dangle": "off",
"no-unreachable": "off",
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-useless-constructor": "off",
"object-curly-newline": "off",
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-promise-reject-errors": "off",
"prefer-rest-params": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }],
"radix": "off",
"semi": 1,
"yoda": "off"
}
}