-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
68 lines (68 loc) · 1.9 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"root": true,
"extends": ["airbnb", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["unused-imports", "simple-import-sort", "import"],
"rules": {
"no-new": "off",
"max-classes-per-file": ["error", 2],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-use-before-define": "off",
"unused-imports/no-unused-imports": "error",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"import/extensions": "off",
"import/no-duplicates": "error",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"camelcase": "error",
"arrow-body-style": ["error", "as-needed"],
"arrow-parens": ["error", "as-needed"],
"comma-dangle": ["error", "only-multiline"],
"func-names": ["error", "as-needed"],
"function-paren-newline": "off",
"implicit-arrow-linebreak": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": false, "avoidEscape": true }],
"max-len": [
"error",
{
"code": 160,
"ignoreStrings": true
}
],
"indent": ["error", 2],
"no-await-in-loop": "off",
"no-confusing-arrow": "off",
"no-continue": "off",
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"no-nested-ternary": "off",
"no-plusplus": "off",
"no-redeclare": "off",
"no-restricted-syntax": "off",
"no-undef": "off",
"no-underscore-dangle": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"no-shadow": "off",
"object-curly-newline": "off",
"operator-linebreak": "off",
"semi": "error"
}
}