-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.oxlintrc.json
More file actions
81 lines (81 loc) · 2.35 KB
/
.oxlintrc.json
File metadata and controls
81 lines (81 loc) · 2.35 KB
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
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"rules": {
"no-unused-vars": "error",
"no-console": "warn",
"eqeqeq": "error",
"no-var": "error",
"prefer-const": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-new-func": "error",
"no-return-await": "error",
"no-throw-literal": "error",
"no-useless-catch": "error",
"no-useless-return": "error",
"no-empty": "error",
"no-empty-function": "warn",
"no-duplicate-imports": "error",
"no-self-compare": "error",
"no-template-curly-in-string": "warn",
"no-unreachable": "error",
"no-unsafe-negation": "error",
"no-constant-condition": "error",
"no-debugger": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-func-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-obj-calls": "error",
"no-sparse-arrays": "error",
"no-unexpected-multiline": "error",
"use-isnan": "error",
"valid-typeof": "error",
"array-callback-return": "error",
"no-caller": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-floating-decimal": "error",
"no-global-assign": "error",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-multi-str": "error",
"no-new-wrappers": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-script-url": "error",
"no-self-assign": "error",
"no-sequences": "error",
"no-unused-labels": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-with": "error",
"radix": "error",
"no-delete-var": "error",
"no-shadow-restricted-names": "error",
"no-undef-init": "error",
"no-new-symbol": "error",
"no-useless-constructor": "error",
"no-useless-rename": "error",
"prefer-numeric-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"require-yield": "error",
"symbol-description": "error"
},
"ignorePatterns": [
"node_modules",
".nuxt",
".output",
"dist",
"*.d.ts"
]
}