-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
75 lines (73 loc) · 2.12 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
69
70
71
72
73
74
75
{
"root": true,
"env": {
"browser": true,
"jasmine": true,
"node": true,
"es6": true
},
"plugins": ["jest", "@typescript-eslint"],
"extends": ["airbnb/base", "plugin:@typescript-eslint/recommended"],
"rules": {
"indent": ["error", 4],
"max-len": [1, 120],
"arrow-body-style": [
2,
"as-needed"
],
"no-return-assign": 0,
"no-param-reassign": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"comma-dangle": [
2,
"never"
],
"arrow-parens": [
2,
"always"
],
"no-console": [
2, {
"allow": ["warn", "error", "info"]
}
],
"no-plusplus": 0,
"lines-between-class-members": "off",
"no-unused-expressions": "off",
"no-use-before-define": ["error", "nofunc"],
"func-names": "off",
"import/no-cycle": 2,
"import/no-mutable-exports": 0,
"import/no-extraneous-dependencies": [
"error", {"devDependencies": ["build/*", "test/**/*"]}
],
"import/no-unresolved": 0,
"import/extensions": ["error", "never"],
"import/order": ["error", {
"newlines-between": "always",
"groups": [["builtin", "external"], "internal", ["sibling", "parent", "index"]],
"pathGroups": [
{ "pattern": "src/**", "group": "internal" },
{ "pattern": "tests/**", "group": "internal" }
],
"pathGroupsExcludedImportTypes": ["internal"],
"alphabetize": { "order": "asc" }
}],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{
"allowArgumentsExplicitlyTypedAsAny": true
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": [
"error",
{ "allowDeclarations": true }
],
"@typescript-eslint/no-empty-function": "off"
},
"parser": "@typescript-eslint/parser"
}