-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.oxlintrc.json
More file actions
87 lines (87 loc) · 3.2 KB
/
.oxlintrc.json
File metadata and controls
87 lines (87 loc) · 3.2 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
82
83
84
85
86
87
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"jsPlugins": ["@factory/eslint-plugin", "oxclippy"],
"rules": {
"@factory/no-exported-string-union-types": "error",
"@factory/enum-file-organization": "error",
"@factory/types-file-organization": "error",
"@factory/constants-file-organization": "error",
"@factory/errors-file-organization": "error",
"@factory/test-utils-organization": "off",
"@factory/test-file-location": "error",
"@factory/no-exported-function-expressions": "error",
"@factory/no-log-exception-with-throw": "error",
"oxclippy/needless-bool": "warn",
"oxclippy/collapsible-if": "warn",
"oxclippy/neg-multiply": "warn",
"oxclippy/bool-comparison": "warn",
"oxclippy/single-case-switch": "warn",
"oxclippy/let-and-return": "warn",
"oxclippy/int-plus-one": "warn",
"oxclippy/needless-late-init": "warn",
"oxclippy/identity-op": "warn",
"oxclippy/manual-clamp": "warn",
"oxclippy/manual-strip": "warn",
"oxclippy/useless-conversion": "warn",
"oxclippy/manual-swap": "warn",
"oxclippy/manual-is-finite": "warn",
"oxclippy/float-comparison": "warn",
"oxclippy/xor-used-as-pow": "warn",
"oxclippy/almost-swapped": "warn",
"oxclippy/if-same-then-else": "warn",
"oxclippy/never-loop": "warn",
"oxclippy/float-equality-without-abs": "warn",
"oxclippy/zero-divided-by-zero": "warn",
"oxclippy/filter-then-first": "warn",
"oxclippy/map-void-return": "warn",
"oxclippy/map-identity": "warn",
"oxclippy/manual-find": "warn",
"oxclippy/manual-some": "warn",
"oxclippy/manual-every": "warn",
"oxclippy/manual-includes": "warn",
"oxclippy/search-is-some": "warn",
"oxclippy/needless-range-loop": "warn",
"oxclippy/redundant-closure-call": "warn",
"oxclippy/explicit-counter-loop": "warn",
"oxclippy/unnecessary-fold": "warn",
"oxclippy/single-element-loop": "warn",
"oxclippy/too-many-arguments": "warn",
"oxclippy/too-many-lines": "warn",
"oxclippy/cognitive-complexity": "warn",
"oxclippy/excessive-nesting": "warn",
"oxclippy/fn-params-excessive-bools": "warn",
"oxclippy/redundant-closure": "warn",
"oxclippy/unnecessary-reduce-collect": "warn",
"oxclippy/prefer-structured-clone": "warn",
"oxclippy/object-keys-values": "warn",
"oxclippy/promise-new-resolve": "warn",
"oxclippy/similar-names": "warn",
"oxclippy/match-same-arms": "warn",
"oxclippy/used-underscore-binding": "warn",
"oxclippy/needless-continue": "warn",
"oxclippy/enum-variant-names": "warn",
"oxclippy/struct-field-names": "warn",
"oxclippy/unreadable-literal": "warn",
"oxclippy/bool-to-int-with-if": "warn"
},
"settings": {
"jsdoc": {
"ignorePrivate": false,
"ignoreInternal": false,
"ignoreReplacesDocs": true,
"overrideReplacesDocs": true,
"augmentsExtendsReplacesDocs": false,
"implementsReplacesDocs": false,
"exemptDestructuredRootsFromChecks": false,
"tagNamePreference": {}
},
"vitest": {
"typecheck": true
}
},
"env": {
"builtin": true
},
"globals": {},
"ignorePatterns": ["node_modules", "dist", "coverage", "vercel.ts", "_archive/**"]
}