-
-
Notifications
You must be signed in to change notification settings - Fork 799
/
.eslintrc
54 lines (54 loc) · 1.6 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
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"overrides": [
{
"files": ["packages/**/*.ts"],
"rules": {
"no-unsafe-negation": "off",
"no-prototype-builtins": "off",
"no-useless-escape": "off"
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"parser": "@typescript-eslint/parser"
},
"ignorePatterns": ["node_modules/", "starters/", "__test__", "base-**", "_test_", "*.js"],
"plugins": ["@typescript-eslint", "import"],
"rules": {
"import/order": [
"error",
{
"groups": [["builtin", "external"], "internal", ["parent", "sibling", "index"]],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"@typescript-eslint/no-explicit-any": 0,
"no-useless-escape": 0,
"import/named": 0,
"import/no-named-as-default-member": 0,
"@typescript-eslint/ban-types": 0,
"no-prototype-builtins": 0,
"@typescript-eslint/no-var-requires": 0,
"import/no-unresolved": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/consistent-type-imports": 0
}
}