This repository was archived by the owner on Nov 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
82 lines (82 loc) · 2.14 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
76
77
78
79
80
81
82
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint",
"airbnb-base"
],
"plugins": [
"import"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"],
"paths": ["."]
},
"babel-module": {}
}
},
"overrides": [{
"files": ["app/*/*/*", "app/*/*"],
"rules": {
"no-restricted-imports": ["off", {
"patterns": ["../*"]
}]
}
}],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/interface-name-prefix": "off",
"arrow-parens": "off",
"semi": "off",
"comma-dangle": "off",
"import/first": ["error", {
"absolute-first": "off"
}],
"import/newline-after-import": ["error", {
"count": 1
}],
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"import/no-unresolved": ["error", {
"ignore": ["@types\/"],
"caseSensitive": false
}],
"import/order": ["error", {
"groups": [
["builtin", "external"],
["internal"],
["index", "sibling", "parent"]
],
"newlines-between": "always"
}],
"import/prefer-default-export": "off",
"indent": "off",
"jsx-quotes": ["warn", "prefer-single"],
"max-len": ["error", {
"code": 200,
"ignorePattern": "import \\{?\\s?.*\\s?\\}? from '.*';"
}],
"no-undef": "off",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"no-use-before-define": "off",
"no-restricted-imports": ["error", {
"patterns": ["../../*"]
}],
"object-curly-newline": "off",
"quotes": ["warn", "single"],
"no-console": "off",
"func-names": "off",
"space-before-function-paren": "off"
}
}