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