@kayahr/oxlint-config 1.34.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.
Files changed (2) hide show
  1. package/.oxlintrc.json +19 -10
  2. package/package.json +1 -1
package/.oxlintrc.json CHANGED
@@ -134,18 +134,28 @@
134
134
  }
135
135
  ],
136
136
  "typescript/consistent-return": "off",
137
+ "typescript/consistent-type-definitions": "off",
137
138
  "typescript/explicit-function-return-type": "off",
138
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",
139
147
  "typescript/no-explicit-any": "off",
140
148
  "typescript/no-extraneous-class": "off",
141
149
  "typescript/no-invalid-void-type": "off",
142
150
  "typescript/no-misused-spread": "off",
151
+ "typescript/no-namespace": "off",
143
152
  "typescript/no-non-null-assertion": "off",
144
153
  "typescript/no-this-alias": "off",
145
154
  "typescript/no-unnecessary-condition": "off",
146
155
  "typescript/no-unnecessary-type-parameters": "off",
147
156
  "typescript/no-unsafe-type-assertion": "off",
148
157
  "typescript/no-wrapper-object-types": "off",
158
+ "typescript/prefer-optional-chain": "warn",
149
159
  "typescript/prefer-readonly-parameter-types": "off",
150
160
  "typescript/prefer-string-starts-ends-with": [
151
161
  "warn",
@@ -158,6 +168,15 @@
158
168
  "typescript/unified-signatures": "off",
159
169
  "typescript/unbound-method": "off",
160
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
+ ],
161
180
  "unicorn/filename-case": "off",
162
181
  "unicorn/no-array-for-each": "off",
163
182
  "unicorn/no-array-method-this-argument": "off",
@@ -165,15 +184,6 @@
165
184
  "unicorn/no-array-reverse": "off",
166
185
  "unicorn/no-array-sort": "off",
167
186
  "unicorn/no-await-expression-member": "off",
168
- "typescript/consistent-type-definitions": "off",
169
- "typescript/no-dynamic-delete": "off",
170
- "typescript/no-empty-interface": [
171
- "warn", {
172
- "allowSingleExtends": true
173
- }
174
- ],
175
- "typescript/no-empty-object-type": "off",
176
- "typescript/no-namespace": "off",
177
187
  "unicorn/no-instanceof-builtins": "off",
178
188
  "unicorn/no-null": "off",
179
189
  "unicorn/no-process-exit": "off",
@@ -182,7 +192,6 @@
182
192
  "unicorn/prefer-event-target": "off",
183
193
  "unicorn/prefer-node-protocol": "warn",
184
194
  "unicorn/prefer-number-properties": "off",
185
- "typescript/prefer-optional-chain": "warn",
186
195
  "unicorn/prefer-spread": "off",
187
196
  "unicorn/prefer-string-raw": "off",
188
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.34.0",
3
+ "version": "1.35.0",
4
4
  "description": "Shared oxlint config for @kayahr projects",
5
5
  "type": "module",
6
6
  "exports": "./.oxlintrc.json",