forked from danielwii/asuna-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.54 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
{
"env": {},
"extends": [
"alloy",
// "alloy/react",
"alloy/typescript",
// "plugin:react-hooks/recommended",
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript"
],
// "parser": "@typescript-eslint/parser",
"settings": {},
"plugins": ["import"],
"rules": {
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/unified-signatures": "off",
"@typescript-eslint/prefer-namespace-keyword": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/method-signature-style": "off",
"@typescript-eslint/typedef": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"@typescript-eslint/adjacent-overload-signatures": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"no-return-assign": "off",
"no-empty-pattern": "off",
"spaced-comment": "off",
"prefer-arrow-callback": "off",
"no-dupe-class-members": "off",
"prefer-promise-reject-errors": "off",
"no-redeclare": "off",
"grouped-accessor-pairs": "off",
"max-params": "warn",
"max-depth": "warn",
"no-unused-vars": "warn",
"import/namespace": "off",
"import/no-cycle": "error"
}
}