@kayahr/oxlint-config 1.33.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.oxlintrc.json +29 -19
- package/package.json +4 -4
package/.oxlintrc.json
CHANGED
|
@@ -36,14 +36,16 @@
|
|
|
36
36
|
"unicorn"
|
|
37
37
|
],
|
|
38
38
|
"rules": {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
// TODO Temporarily disabled because of https://github.com/oxc-project/oxc/issues/23122
|
|
40
|
+
"eslint/capitalized-comments": "off",
|
|
41
|
+
// "eslint/capitalized-comments": [
|
|
42
|
+
// "warn",
|
|
43
|
+
// "always",
|
|
44
|
+
// {
|
|
45
|
+
// "ignoreConsecutiveComments": true,
|
|
46
|
+
// "ignorePattern": "(cspell:|node:coverage )"
|
|
47
|
+
// }
|
|
48
|
+
// ],
|
|
47
49
|
"eslint/class-methods-use-this": "off",
|
|
48
50
|
"eslint/complexity": "off",
|
|
49
51
|
"eslint/default-case": "off",
|
|
@@ -132,18 +134,28 @@
|
|
|
132
134
|
}
|
|
133
135
|
],
|
|
134
136
|
"typescript/consistent-return": "off",
|
|
137
|
+
"typescript/consistent-type-definitions": "off",
|
|
135
138
|
"typescript/explicit-function-return-type": "off",
|
|
136
139
|
"typescript/no-base-to-string": "off",
|
|
140
|
+
"typescript/no-dynamic-delete": "off",
|
|
141
|
+
"typescript/no-empty-interface": [
|
|
142
|
+
"warn", {
|
|
143
|
+
"allowSingleExtends": true
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"typescript/no-empty-object-type": "off",
|
|
137
147
|
"typescript/no-explicit-any": "off",
|
|
138
148
|
"typescript/no-extraneous-class": "off",
|
|
139
149
|
"typescript/no-invalid-void-type": "off",
|
|
140
150
|
"typescript/no-misused-spread": "off",
|
|
151
|
+
"typescript/no-namespace": "off",
|
|
141
152
|
"typescript/no-non-null-assertion": "off",
|
|
142
153
|
"typescript/no-this-alias": "off",
|
|
143
154
|
"typescript/no-unnecessary-condition": "off",
|
|
144
155
|
"typescript/no-unnecessary-type-parameters": "off",
|
|
145
156
|
"typescript/no-unsafe-type-assertion": "off",
|
|
146
157
|
"typescript/no-wrapper-object-types": "off",
|
|
158
|
+
"typescript/prefer-optional-chain": "warn",
|
|
147
159
|
"typescript/prefer-readonly-parameter-types": "off",
|
|
148
160
|
"typescript/prefer-string-starts-ends-with": [
|
|
149
161
|
"warn",
|
|
@@ -156,6 +168,15 @@
|
|
|
156
168
|
"typescript/unified-signatures": "off",
|
|
157
169
|
"typescript/unbound-method": "off",
|
|
158
170
|
"unicorn/consistent-function-scoping": "off",
|
|
171
|
+
"unicorn/import-style": [
|
|
172
|
+
"warn",
|
|
173
|
+
{
|
|
174
|
+
"extendDefaultStyles": true,
|
|
175
|
+
"styles": {
|
|
176
|
+
"node:path": { "named": true }
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
],
|
|
159
180
|
"unicorn/filename-case": "off",
|
|
160
181
|
"unicorn/no-array-for-each": "off",
|
|
161
182
|
"unicorn/no-array-method-this-argument": "off",
|
|
@@ -163,15 +184,6 @@
|
|
|
163
184
|
"unicorn/no-array-reverse": "off",
|
|
164
185
|
"unicorn/no-array-sort": "off",
|
|
165
186
|
"unicorn/no-await-expression-member": "off",
|
|
166
|
-
"typescript/consistent-type-definitions": "off",
|
|
167
|
-
"typescript/no-dynamic-delete": "off",
|
|
168
|
-
"typescript/no-empty-interface": [
|
|
169
|
-
"warn", {
|
|
170
|
-
"allow_single_extends": true
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"typescript/no-empty-object-type": "off",
|
|
174
|
-
"typescript/no-namespace": "off",
|
|
175
187
|
"unicorn/no-instanceof-builtins": "off",
|
|
176
188
|
"unicorn/no-null": "off",
|
|
177
189
|
"unicorn/no-process-exit": "off",
|
|
@@ -180,8 +192,6 @@
|
|
|
180
192
|
"unicorn/prefer-event-target": "off",
|
|
181
193
|
"unicorn/prefer-node-protocol": "warn",
|
|
182
194
|
"unicorn/prefer-number-properties": "off",
|
|
183
|
-
// TODO Currently broken: https://github.com/oxc-project/oxc/issues/17968
|
|
184
|
-
"typescript/prefer-optional-chain": "off",
|
|
185
195
|
"unicorn/prefer-spread": "off",
|
|
186
196
|
"unicorn/prefer-string-raw": "off",
|
|
187
197
|
"unicorn/require-array-join-separator": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayahr/oxlint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"description": "Shared oxlint config for @kayahr projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./.oxlintrc.json",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
".oxlintrc.json"
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@kayahr/cspell": "
|
|
27
|
+
"@kayahr/cspell": "10.0.1-bundle.1",
|
|
28
28
|
"@kayahr/npm-utils": "1.1.2",
|
|
29
|
-
"@types/node": "25.9.
|
|
29
|
+
"@types/node": "25.9.2",
|
|
30
30
|
"typescript": "6.0.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"oxlint": "^1.
|
|
33
|
+
"oxlint": "^1.69.0",
|
|
34
34
|
"oxlint-tsgolint": "^0.23.0"
|
|
35
35
|
}
|
|
36
36
|
}
|