-
Notifications
You must be signed in to change notification settings - Fork 3
/
oxlintrc.json
45 lines (45 loc) · 1.38 KB
/
oxlintrc.json
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": {
"browser": true,
"es2024": true,
"node": true
},
"rules": {
"semi": ["error", "always"],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/no-inferrable-types": ["off"],
"@typescript-eslint/ban-ts-comment": ["warn"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-this-alias": ["warn"],
"@typescript-eslint/no-shadow": ["warn"],
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/consistent-type-imports": ["error"],
"@typescript-eslint/consistent-type-exports": ["error"],
"no-shadow": ["off"],
"no-console": ["off"],
"no-duplicate-imports": ["error"],
"dot-notation": ["off"],
"eqeqeq": ["error"],
"eol-last": ["error"],
"import/no-default-export": ["warn"],
"import/no-cycle": ["off"],
"import/no-unresolved": ["error"],
"max-len": ["warn", 245],
"padded-blocks": ["error", "never"],
"space-in-parens": ["error"],
"array-bracket-spacing": ["error"],
"no-unneeded-ternary": ["error"],
"no-unexpected-multiline": ["off"],
"no-var": ["error"],
"no-control-regex": ["off"],
"curly": ["warn"],
"camelcase": ["warn"],
"prefer-const": ["warn"],
"comma-style": ["error", "last"],
"class-methods-use-this": ["off"],
"no-trailing-spaces": "error",
"tsdoc/syntax": "warn",
"tsdoc-undefined-tag": "off"
}
}