oxlint-config-presets 0.1.18 → 0.1.20

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/@antfu.json CHANGED
@@ -193,6 +193,12 @@
193
193
  "ignoreConstructors": false
194
194
  }
195
195
  ],
196
+ "one-var": [
197
+ "error",
198
+ {
199
+ "initialized": "never"
200
+ }
201
+ ],
196
202
  "prefer-arrow-callback": [
197
203
  "error",
198
204
  {
package/@eslint/all.json CHANGED
@@ -162,6 +162,7 @@
162
162
  "no-warning-comments": "error",
163
163
  "no-with": "error",
164
164
  "object-shorthand": "error",
165
+ "one-var": "error",
165
166
  "operator-assignment": "error",
166
167
  "prefer-arrow-callback": "error",
167
168
  "prefer-const": "error",