-
Notifications
You must be signed in to change notification settings - Fork 69
/
.eslintrc
69 lines (69 loc) · 1.79 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
{
"env": {
"es6": true,
"node": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:svelte/recommended"
],
"overrides": [{
"files": ["*.svelte", "**/*.svelte"],
"parser": "svelte-eslint-parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2021,
"parser": {
"ts": "@typescript-eslint/parser",
"js": "espree",
"typescript": "@typescript-eslint/parser"
}
},
"rules": {
"no-return-assign": "off"
}
}],
"plugins": [
"@typescript-eslint",
"import"
],
"rules": {
"max-len": "off",
"import/no-mutable-exports": "off",
"no-unused-expressions": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/order": [
"error",
{
"newlines-between": "always",
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],
"object-curly-newline": ["error", {
"ImportDeclaration": { "multiline": true },
"ExportDeclaration": { "multiline": true }
}],
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"class-methods-use-this": "off",
"no-continue": "off",
"no-use-before-define": "off",
"prefer-destructuring": "off",
"no-plusplus": "off",
"no-bitwise": "off",
"import/no-relative-packages": "off",
"guard-for-in": "off",
"@typescript-eslint/type-annotation-spacing": "error",
"brace-style": "off"
}
}