@wistia/oxlint-config 1.11.1 → 1.11.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,418 @@
1
+ # @wistia/oxlint-config
2
+
3
+ ## 1.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#173](https://github.com/wistia/oxlint-config/pull/173) [`73b7bd9`](https://github.com/wistia/oxlint-config/commit/73b7bd94a2f9a0ce3a1675eb26a2b9b8392392b9) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.78.0
8
+
9
+ - Bump `oxlint` peer minimum to `>= 1.78.0` and `oxfmt` peer minimum to `>= 0.63.0`
10
+ - New native rule in v1.78.0, now configured:
11
+ - `eslint/one-var` set to `['error', 'never']` — variables must be declared separately
12
+
13
+ ## 1.11.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [#171](https://github.com/wistia/oxlint-config/pull/171) [`5ca5aa6`](https://github.com/wistia/oxlint-config/commit/5ca5aa6d57b2aa5302bce9e3daae6dd344177e21) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.77.0
18
+
19
+ - Bump `oxlint` peer minimum to `>= 1.77.0`
20
+ - No new native rules, renames, or removals in v1.77.0 — no rule-file changes required
21
+ - Behavior change in v1.77.0 to a rule already set to `error`, no config change required:
22
+ - `oxc/bad-char-at-comparison` expands coverage ([#25001](https://github.com/wistia/oxlint-config/issues/25001))
23
+
24
+ ## 1.11.0
25
+
26
+ ### Minor Changes
27
+
28
+ - [#163](https://github.com/wistia/oxlint-config/pull/163) [`d17e9db`](https://github.com/wistia/oxlint-config/commit/d17e9db7e783312761bf8a2c589783a66153570d) Thanks [@okize](https://github.com/okize)! - feat: configure new native rules from oxlint v1.76.0
29
+
30
+ - Bump `oxlint` peer minimum to `>= 1.76.0`
31
+ - Configure the new native rules in oxlint v1.76.0:
32
+ - `oxc/bad-match-all-arg`: `error` — flags `matchAll()` with a non-global regex, which throws a `TypeError` at runtime
33
+ - `node/exports-style`: `['error', 'module.exports']`, replacing jsPlugin `n/exports-style` (now `off`) — same option as the previous jsPlugin default, no behavior change
34
+ - `eslint/id-denylist`: `off` — requires a project-specific identifier list; too opinionated for a shared config
35
+ - Behavior changes in v1.76.0 to rules already set to `error`, no config change required:
36
+ - `typescript/no-confusing-non-null-assertion` now also reports `in` and `instanceof`
37
+ - `jsx_a11y/interactive-supports-focus` now matches ESLint behavior for custom components
38
+ - `eslint/func-names` now ignores overloads
39
+ - `unicorn/no-array-reverse` and `unicorn/no-array-sort` replacements are now suggestions rather than auto-fixes
40
+
41
+ ## 1.10.1
42
+
43
+ ### Patch Changes
44
+
45
+ - [#164](https://github.com/wistia/oxlint-config/pull/164) [`5e92c96`](https://github.com/wistia/oxlint-config/commit/5e92c9603eeceb476eb9e1958597473cc597ffea) Thanks [@okize](https://github.com/okize)! - fix: allow both `chalk` import forms in `unicorn/import-style`
46
+
47
+ `chalk` is now `{ named: true, default: true }`. The previous `default: false` errored on `import chalk from 'chalk'` — the pre-built instance that is chalk's entire main API — forcing consumers to add an `oxlint-disable-next-line` on the idiomatic import. `import { Chalk } from 'chalk'` is also valid (it is the class you instantiate for a custom instance), so both forms are now allowed.
48
+
49
+ ## 1.10.0
50
+
51
+ ### Minor Changes
52
+
53
+ - [#156](https://github.com/wistia/oxlint-config/pull/156) [`d1b23e3`](https://github.com/wistia/oxlint-config/commit/d1b23e3f0e6c1606643c12ec04c587b34058e272) Thanks [@okize](https://github.com/okize)! - feat: configure new native rules and bump peer minimums
54
+
55
+ - Bump peer minimums: `oxlint` to `>= 1.75.0`, `oxfmt` to `>= 0.60.0`, `eslint` to `>=10.7.0`
56
+ - Configure the new native rules in oxlint v1.75.0:
57
+ - `node/no-top-level-await`: `['error', { ignoreBin: true }]`, replacing jsPlugin `n/no-top-level-await` (now `off`) — same options, no behavior change
58
+ - `vitest/padding-around-test-blocks`: `error`, replacing jsPlugin `vitest-js/padding-around-test-blocks` (now `off`) — no behavior change
59
+ - `react/function-component-definition`: `off` (style preference)
60
+ - `import/consistent-type-specifier-style` gains a `prefer-top-level-if-only-type-imports` option in v1.75.0; the configured `prefer-top-level` setting is unchanged
61
+
62
+ ## 1.9.1
63
+
64
+ ### Patch Changes
65
+
66
+ - [#153](https://github.com/wistia/oxlint-config/pull/153) [`c7afe2e`](https://github.com/wistia/oxlint-config/commit/c7afe2ef1419c673cf3a5e9ef295ef29cf3aaec8) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.74.0 and `oxfmt` to v0.59.0
67
+
68
+ - Bump peer minimums: `oxlint` to `>= 1.74.0`, `oxfmt` to `>= 0.59.0`
69
+ - No rule changes: oxlint v1.74.0 adds no new native rules and renames or removes none
70
+ - Behavior changes to already-configured rules, all false-positive or fix improvements: `import/no-duplicates` gains an autofix; `eslint/no-loop-func` no longer errors on catch variables; `eslint/no-unused-vars` counts default-parameter updates as usage; `eslint/no-unreachable` handles `break` in switch statements correctly
71
+ - Drop repo-only `ignorePatterns` from `oxfmt.config.mjs`; oxlint v1.74.0 errors on `ignorePatterns` that cannot match files outside the config directory
72
+
73
+ ## 1.9.0
74
+
75
+ ### Minor Changes
76
+
77
+ - [#150](https://github.com/wistia/oxlint-config/pull/150) [`298a7db`](https://github.com/wistia/oxlint-config/commit/298a7dba27872143f8c1d7905e7609b150dbb149) Thanks [@okize](https://github.com/okize)! - feat: explicitly configure every jsPlugin rule and enforce coverage in tests
78
+
79
+ Every rule of every declared jsPlugin is now explicitly `error` or `off`, matching the existing convention for native oxlint rules. A new test fails when a jsPlugin upgrade adds, renames, or removes rules, and config validation now also fails on jsPlugin runtime errors.
80
+
81
+ New rules set to `error`:
82
+
83
+ - `@eslint-react/web-api-no-leaked-intersection-observer`
84
+ - `eslint-plugin-playwright/no-duplicate-slow`
85
+
86
+ All other previously unconfigured jsPlugin rules are set to `off` with documented decisions, including `eslint-plugin-styled-components-a11y/lang`, which the plugin exports but crashes on when enabled. Alias names exposing an already-configured rule object under a second name (the 53 `@eslint-react/x-*` names) are exempt: the coverage test requires exactly one configured name per rule.
87
+
88
+ ## 1.8.0
89
+
90
+ ### Minor Changes
91
+
92
+ - [#140](https://github.com/wistia/oxlint-config/pull/140) [`7693fd0`](https://github.com/wistia/oxlint-config/commit/7693fd0a4a4f275be0fc7bde7a0d7047979403cf) Thanks [@okize](https://github.com/okize)! - feat: configure new native rules from oxlint v1.73.0
93
+
94
+ New rules, all set to `error`:
95
+
96
+ - `eslint/no-unreachable-loop`
97
+ - `unicorn/explicit-timer-delay`
98
+ - `unicorn/no-confusing-array-with`
99
+
100
+ Peer dependency minimums raised: `oxlint >= 1.73.0`, `oxlint-tsgolint >= 0.24.0`, `oxfmt >= 0.58.0`.
101
+
102
+ ## 1.7.3
103
+
104
+ ### Patch Changes
105
+
106
+ - [#146](https://github.com/wistia/oxlint-config/pull/146) [`950e921`](https://github.com/wistia/oxlint-config/commit/950e92141f2afa1fbc28c100f2cab90d14f2ecf0) Thanks [@okize](https://github.com/okize)! - Resolve jsPlugin package specifiers to absolute paths from within this package (via the new `resolve-plugin.mjs` helper, shipped in the tarball) so plugins load in consumers whose dependency trees nest this package's dependencies — e.g. a consumer on typescript 7 while this package depends on typescript 6. Bare specifiers were resolved by oxlint from the consumer's config location and failed with "Failed to load JS plugin" when the plugin was not hoisted to the consumer's root. Config validation tests now catch jsPlugin load failures, which oxlint prints to stdout — the previous stderr-only assertion passed vacuously.
107
+
108
+ ## 1.7.2
109
+
110
+ ### Patch Changes
111
+
112
+ - [#144](https://github.com/wistia/oxlint-config/pull/144) [`f49c832`](https://github.com/wistia/oxlint-config/commit/f49c832bf31ae62e0bd6cad8c0525e9d21995677) Thanks [@okize](https://github.com/okize)! - Restore the oxfmt config object that v1.7.1 accidentally dropped. `oxfmtConfig.mjs` imported a file that was never committed, so importing `@wistia/oxlint-config/oxfmtConfig` crashed with ERR_MODULE_NOT_FOUND. The config object is inlined again (named `oxfmtConfig` export and default export, matching the type declarations), this repo now formats itself with the shipped config, and a smoke test imports the module so a broken import graph can't ship again.
113
+
114
+ ## 1.7.1
115
+
116
+ ### Patch Changes
117
+
118
+ - [#141](https://github.com/wistia/oxlint-config/pull/141) [`fc7a1af`](https://github.com/wistia/oxlint-config/commit/fc7a1af9f2d7d6e4bf91a23d0ec0892f817d0413) Thanks [@okize](https://github.com/okize)! - Anchor the package.json `files` patterns to the package root. Yarn matches unanchored entries gitignore-style at any depth, so the bare `index.mjs` pattern pulled `test/fixtures/**/index.mjs` files into the published tarball.
119
+
120
+ ## 1.7.0
121
+
122
+ ### Minor Changes
123
+
124
+ - [#135](https://github.com/wistia/oxlint-config/pull/135) [`81032aa`](https://github.com/wistia/oxlint-config/commit/81032aa26552bb686ee965c4de193a6c49fd994c) Thanks [@okize](https://github.com/okize)! - feat: configure new `node` and `unicorn` native rules
125
+
126
+ ## 1.6.1
127
+
128
+ ### Patch Changes
129
+
130
+ - [#132](https://github.com/wistia/oxlint-config/pull/132) [`e074e30`](https://github.com/wistia/oxlint-config/commit/e074e30c67b0433bf855bbe2c0e04ff91135d9bc) Thanks [@okize](https://github.com/okize)! - fix: ship type declarations for the `oxfmtConfig` subpath export
131
+
132
+ ## 1.6.0
133
+
134
+ ### Minor Changes
135
+
136
+ - [#130](https://github.com/wistia/oxlint-config/pull/130) [`f5940f8`](https://github.com/wistia/oxlint-config/commit/f5940f8816ff65f4a50e462e5ec20e4f8e7f7849) Thanks [@okize](https://github.com/okize)! - feat: add standardized `Oxfmt` config to exports
137
+
138
+ ## 1.5.0
139
+
140
+ ### Minor Changes
141
+
142
+ - [#128](https://github.com/wistia/oxlint-config/pull/128) [`44eeb0d`](https://github.com/wistia/oxlint-config/commit/44eeb0d70e4f2703257db58a43eb048fa2225bf8) Thanks [@okize](https://github.com/okize)! - feat: configure new unicorn rules
143
+
144
+ ## 1.4.0
145
+
146
+ ### Minor Changes
147
+
148
+ - [#125](https://github.com/wistia/oxlint-config/pull/125) [`784a928`](https://github.com/wistia/oxlint-config/commit/784a928b4e213d43f719c7bc0a0ad42a872530e2) Thanks [@okize](https://github.com/okize)! - feat: rely on oxfmt for import ordering, disable `import-x-js/order`
149
+
150
+ ## 1.3.0
151
+
152
+ ### Minor Changes
153
+
154
+ - [#117](https://github.com/wistia/oxlint-config/pull/117) [`cd93a96`](https://github.com/wistia/oxlint-config/commit/cd93a969c125bf382ff0c9174f3389acd9f7045f) Thanks [@okize](https://github.com/okize)! - feat: add `custom/match-exported` rule via custom local jsPlugin
155
+
156
+ ## 1.2.0
157
+
158
+ ### Minor Changes
159
+
160
+ - [#121](https://github.com/wistia/oxlint-config/pull/121) [`278e34b`](https://github.com/wistia/oxlint-config/commit/278e34bb9d2bc4ae52e49835e34b5d69005668d2) Thanks [@okize](https://github.com/okize)! - feat(import): order type imports before runtime imports
161
+
162
+ ## 1.1.1
163
+
164
+ ### Patch Changes
165
+
166
+ - [#119](https://github.com/wistia/oxlint-config/pull/119) [`7724ae5`](https://github.com/wistia/oxlint-config/commit/7724ae51fa3328cb5637cb982354faedcc189fe1) Thanks [@okize](https://github.com/okize)! - fix(node): configure native node/callback-return and reconcile n/ jsPlugin inversions
167
+
168
+ ## 1.1.0
169
+
170
+ ### Minor Changes
171
+
172
+ - [#118](https://github.com/wistia/oxlint-config/pull/118) [`d057248`](https://github.com/wistia/oxlint-config/commit/d057248d21d0a9282d76dc3775fa81a744c7354f) Thanks [@okize](https://github.com/okize)! - feat: configure new `react` and `unicorn` rules
173
+
174
+ ## 1.0.5
175
+
176
+ ### Patch Changes
177
+
178
+ - [#111](https://github.com/wistia/oxlint-config/pull/111) [`0f7b064`](https://github.com/wistia/oxlint-config/commit/0f7b064f387c44659869b01315fe5392b2a45311) Thanks [@okize](https://github.com/okize)! - fix: enable `eslint/curly` rule
179
+
180
+ ## 1.0.4
181
+
182
+ ### Patch Changes
183
+
184
+ - [#109](https://github.com/wistia/oxlint-config/pull/109) [`616754c`](https://github.com/wistia/oxlint-config/commit/616754c259339bba4aee78310f444553ca44e4c0) Thanks [@okize](https://github.com/okize)! - fix: update `eslint/no-param-reassign` to be a little looser and avoid maintaining an allowlist
185
+
186
+ ## 1.0.3
187
+
188
+ ### Patch Changes
189
+
190
+ - [#107](https://github.com/wistia/oxlint-config/pull/107) [`bb9b52d`](https://github.com/wistia/oxlint-config/commit/bb9b52d0abea040f37125731abb63d9aa23c85ad) Thanks [@okize](https://github.com/okize)! - fix: disable unicorn/no-useless-promise-resolve-reject (conflicts with require-await)
191
+
192
+ ## 1.0.2
193
+
194
+ ### Patch Changes
195
+
196
+ - [#105](https://github.com/wistia/oxlint-config/pull/105) [`ebf6def`](https://github.com/wistia/oxlint-config/commit/ebf6def36e1ccda8d483b5aec9aa7aa5a4074551) Thanks [@okize](https://github.com/okize)! - fix: reconcile rules with oxlint v1.69.0
197
+ - Configure new native `eslint/prefer-named-capture-group` (off, too strict)
198
+ - Configure new native `typescript/method-signature-style` (error)
199
+ - Bump peer minimums: `eslint` to `>= 10.4.1`, `oxlint` to `>= 1.69.0`
200
+ - Update `validate-configs` test to detect config rejection via stderr instead of the removed "Found" summary line
201
+
202
+ ## 1.0.1
203
+
204
+ ### Patch Changes
205
+
206
+ - [#102](https://github.com/wistia/oxlint-config/pull/102) [`9129584`](https://github.com/wistia/oxlint-config/commit/9129584bda88123f8df500b1f0ff0e54bde3dfee) Thanks [@okize](https://github.com/okize)! - fix: add `eslint` package as a peerDependency
207
+
208
+ ## 1.0.0
209
+
210
+ ### Major Changes
211
+
212
+ - [#100](https://github.com/wistia/oxlint-config/pull/100) [`b536b56`](https://github.com/wistia/oxlint-config/commit/b536b567e0ec4f8ca6ab3721cba92009cb3f7966) Thanks [@okize](https://github.com/okize)! - feat!: no breaking changes from previous release, just declaring this package as v1
213
+
214
+ ## 0.9.4
215
+
216
+ ### Patch Changes
217
+
218
+ - [#98](https://github.com/wistia/oxlint-config/pull/98) [`3a5d713`](https://github.com/wistia/oxlint-config/commit/3a5d713e508991a359fffee42708810587686bb2) Thanks [@okize](https://github.com/okize)! - fix: enable & disable various rules
219
+
220
+ ## 0.9.3
221
+
222
+ ### Patch Changes
223
+
224
+ - [#96](https://github.com/wistia/oxlint-config/pull/96) [`684b5be`](https://github.com/wistia/oxlint-config/commit/684b5be2d25a8299775b369d46a81e5a6b4a761a) Thanks [@okize](https://github.com/okize)! - fix: `eslint/no-useless-assignment` rule should only be `off` in typescript config
225
+
226
+ ## 0.9.2
227
+
228
+ ### Patch Changes
229
+
230
+ - [#93](https://github.com/wistia/oxlint-config/pull/93) [`1d76d7f`](https://github.com/wistia/oxlint-config/commit/1d76d7f455e9260f0f45eeb210d546b1148c9a62) Thanks [@okize](https://github.com/okize)! - fix: disable `unicorn(no-useless-switch-case)` rule
231
+
232
+ ## 0.9.1
233
+
234
+ ### Patch Changes
235
+
236
+ - [#91](https://github.com/wistia/oxlint-config/pull/91) [`f3824be`](https://github.com/wistia/oxlint-config/commit/f3824be1dec1fae0f15c7b8d4cf7a0f9feec7a24) Thanks [@okize](https://github.com/okize)! - fix: disable `unicorn/prefer-global-this` rule and modify `unicorn/import-style` rule
237
+
238
+ ## 0.9.0
239
+
240
+ ### Minor Changes
241
+
242
+ - [#88](https://github.com/wistia/oxlint-config/pull/88) [`1d74f94`](https://github.com/wistia/oxlint-config/commit/1d74f94158e19e05de2affd31cde831b593a0518) Thanks [@okize](https://github.com/okize)! - feat: ensure unicorn rules work correctly
243
+
244
+ ## 0.8.2
245
+
246
+ ### Patch Changes
247
+
248
+ - [#85](https://github.com/wistia/oxlint-config/pull/85) [`e07db56`](https://github.com/wistia/oxlint-config/commit/e07db56628aaf903f531af34eeeafdcc12d6a6a8) Thanks [@okize](https://github.com/okize)! - fix: update `vitest` config to favor native rules over plugin
249
+
250
+ ## 0.8.1
251
+
252
+ ### Patch Changes
253
+
254
+ - [#82](https://github.com/wistia/oxlint-config/pull/82) [`ccb5847`](https://github.com/wistia/oxlint-config/commit/ccb58478051486be6593b4533084d849c2c69cbc) Thanks [@okize](https://github.com/okize)! - fix: disable `no-extraneous-dependencies` and leave it to knip to figure out
255
+
256
+ ## 0.8.0
257
+
258
+ ### Minor Changes
259
+
260
+ - [#78](https://github.com/wistia/oxlint-config/pull/78) [`6b77af0`](https://github.com/wistia/oxlint-config/commit/6b77af04ca3b1ba6877fd17af7bdc4996f3b8b45) Thanks [@okize](https://github.com/okize)! - feat: add native oxlint rules for eslint, import, jsx-a11y, react, and vitest plugins
261
+
262
+ ## 0.7.5
263
+
264
+ ### Patch Changes
265
+
266
+ - [#72](https://github.com/wistia/oxlint-config/pull/72) [`46ca002`](https://github.com/wistia/oxlint-config/commit/46ca00287af1f89ece05124689af0592226f849a) Thanks [@okize](https://github.com/okize)! - fix: enable rules that should not have been set to `off`
267
+
268
+ ## 0.7.4
269
+
270
+ ### Patch Changes
271
+
272
+ - [#68](https://github.com/wistia/oxlint-config/pull/68) [`e437df8`](https://github.com/wistia/oxlint-config/commit/e437df8cf031a45203518178e63cb6b6e7e5df46) Thanks [@okize](https://github.com/okize)! - fix: explicitly configure all missing native oxlint rules to prevent default warn severity
273
+
274
+ ## 0.7.3
275
+
276
+ ### Patch Changes
277
+
278
+ - [#66](https://github.com/wistia/oxlint-config/pull/66) [`85054b9`](https://github.com/wistia/oxlint-config/commit/85054b9dc07779183a453509fc21db345fd35fd3) Thanks [@okize](https://github.com/okize)! - fix: remove jest plugin, use vitest-only rules to eliminate warn-level defaults
279
+
280
+ ## 0.7.2
281
+
282
+ ### Patch Changes
283
+
284
+ - [#63](https://github.com/wistia/oxlint-config/pull/63) [`c21219e`](https://github.com/wistia/oxlint-config/commit/c21219e9539c152ddc2a0e29b241e76874459984) Thanks [@okize](https://github.com/okize)! - fix: enable `vitest/valid-title` & disable `jest/valid-title`
285
+
286
+ ## 0.7.1
287
+
288
+ ### Patch Changes
289
+
290
+ - [#61](https://github.com/wistia/oxlint-config/pull/61) [`b852e47`](https://github.com/wistia/oxlint-config/commit/b852e47c11bb3d56792530e83c0f65158c8aa705) Thanks [@okize](https://github.com/okize)! - fix: `n/no-process-exit` should be set to error
291
+
292
+ ## 0.7.0
293
+
294
+ ### Minor Changes
295
+
296
+ - [#58](https://github.com/wistia/oxlint-config/pull/58) [`3769a02`](https://github.com/wistia/oxlint-config/commit/3769a02b66b1bcab0531d8a7711f3fad40b6b51d) Thanks [@okize](https://github.com/okize)! - feat: update react rules for new @eslint-react/eslint-plugin version
297
+
298
+ - [#56](https://github.com/wistia/oxlint-config/pull/56) [`6562106`](https://github.com/wistia/oxlint-config/commit/65621065c5bb49b851bf0e937cb8e9d711ed1282) Thanks [@okize](https://github.com/okize)! - feat: update `vitest` rules
299
+
300
+ ## 0.6.1
301
+
302
+ ### Patch Changes
303
+
304
+ - [#52](https://github.com/wistia/oxlint-config/pull/52) [`675ef21`](https://github.com/wistia/oxlint-config/commit/675ef215854ad1ceca79212f8e748489bddf4676) Thanks [@okize](https://github.com/okize)! - fix: add missing rules
305
+
306
+ ## 0.6.0
307
+
308
+ ### Minor Changes
309
+
310
+ - [#48](https://github.com/wistia/oxlint-config/pull/48) [`98e2c92`](https://github.com/wistia/oxlint-config/commit/98e2c920dc03f19996869b368ca095b96ab8f19f) Thanks [@okize](https://github.com/okize)! - feat: enable `no-restricted-globals` rule
311
+
312
+ ## 0.5.1
313
+
314
+ ### Patch Changes
315
+
316
+ - [#44](https://github.com/wistia/oxlint-config/pull/44) [`1c264a3`](https://github.com/wistia/oxlint-config/commit/1c264a312de7a34eadb84fe8ce889d464e1288ed) Thanks [@okize](https://github.com/okize)! - fix: allow 'log', 'warn' & 'error' methods in `no-console` rule
317
+
318
+ ## 0.5.0
319
+
320
+ ### Minor Changes
321
+
322
+ - [#42](https://github.com/wistia/oxlint-config/pull/42) [`8682859`](https://github.com/wistia/oxlint-config/commit/8682859e8680595e0068820b25cd947b90f1e5da) Thanks [@okize](https://github.com/okize)! - feat: turn off `eslint/no-magic-numbers` since it is frequently disabled
323
+
324
+ ## 0.4.7
325
+
326
+ ### Patch Changes
327
+
328
+ - [#40](https://github.com/wistia/oxlint-config/pull/40) [`88b04c3`](https://github.com/wistia/oxlint-config/commit/88b04c30783116b215436624d3bc49549848d25e) Thanks [@okize](https://github.com/okize)! - fix: `eslint/no-unused-vars` was intended to be `off`
329
+
330
+ ## 0.4.6
331
+
332
+ ### Patch Changes
333
+
334
+ - [#38](https://github.com/wistia/oxlint-config/pull/38) [`db05ae2`](https://github.com/wistia/oxlint-config/commit/db05ae2fc9f10a28f3b612729a60a3065eff2036) Thanks [@okize](https://github.com/okize)! - fix: do not disable base rules in typescript config that do not have an equivalent rule at this point
335
+
336
+ ## 0.4.5
337
+
338
+ ### Patch Changes
339
+
340
+ - [#36](https://github.com/wistia/oxlint-config/pull/36) [`49d2b43`](https://github.com/wistia/oxlint-config/commit/49d2b43295f6039991c65818aa29becdda096019) Thanks [@okize](https://github.com/okize)! - fix: disable @eslint-react rules that are covered by oxlint rules already
341
+
342
+ ## 0.4.4
343
+
344
+ ### Patch Changes
345
+
346
+ - [#34](https://github.com/wistia/oxlint-config/pull/34) [`16415e1`](https://github.com/wistia/oxlint-config/commit/16415e14b4a6fa120e642de11753bee4f8033a8d) Thanks [@okize](https://github.com/okize)! - fix: disable react rules that require type information
347
+
348
+ ## 0.4.3
349
+
350
+ ### Patch Changes
351
+
352
+ - [#32](https://github.com/wistia/oxlint-config/pull/32) [`3762563`](https://github.com/wistia/oxlint-config/commit/3762563104abe0155bd7c1b2ba4cb6fc9b3183ac) Thanks [@okize](https://github.com/okize)! - fix: add explicit severity for all oxlint default-enabled rules missing from config (vitest, typescript, unicorn)
353
+
354
+ ## 0.4.2
355
+
356
+ ### Patch Changes
357
+
358
+ - [#30](https://github.com/wistia/oxlint-config/pull/30) [`b797b64`](https://github.com/wistia/oxlint-config/commit/b797b6442d5991e2c42e5c27ae719ebc3cc9d7a1) Thanks [@okize](https://github.com/okize)! - fix: add missing `vitest/require-mock-type-parameters` rule
359
+
360
+ ## 0.4.1
361
+
362
+ ### Patch Changes
363
+
364
+ - [#28](https://github.com/wistia/oxlint-config/pull/28) [`8acbf9d`](https://github.com/wistia/oxlint-config/commit/8acbf9d653775c9d34fafc4bfd5438e538fdd52a) Thanks [@okize](https://github.com/okize)! - fix: add missing eslint-react rules
365
+
366
+ ## 0.4.0
367
+
368
+ ### Minor Changes
369
+
370
+ - [#23](https://github.com/wistia/oxlint-config/pull/23) [`14b32be`](https://github.com/wistia/oxlint-config/commit/14b32bee07f385324778e2646aa7ba740e4c8089) Thanks [@okize](https://github.com/okize)! - feat!: enable type-aware linting and type checking via tsgolint
371
+
372
+ ## 0.3.5
373
+
374
+ ### Patch Changes
375
+
376
+ - [#19](https://github.com/wistia/oxlint-config/pull/19) [`f4c3cad`](https://github.com/wistia/oxlint-config/commit/f4c3cad67a3186013ca94e717225c3dd220234e2) Thanks [@okize](https://github.com/okize)! - feat: switch to `overrides` and add file paths for `extends` in consumer configs
377
+
378
+ ## 0.3.4
379
+
380
+ ### Patch Changes
381
+
382
+ - [#16](https://github.com/wistia/oxlint-config/pull/16) [`6ac9316`](https://github.com/wistia/oxlint-config/commit/6ac931625b570aaae3223688fe49cd12effabfc2) Thanks [@okize](https://github.com/okize)! - feat: add filenames and barrel-files rules via jsPlugins
383
+
384
+ ## 0.3.3
385
+
386
+ ### Patch Changes
387
+
388
+ - [#14](https://github.com/wistia/oxlint-config/pull/14) [`47ee30a`](https://github.com/wistia/oxlint-config/commit/47ee30a612d85367b2027c4fcf895af54fce9ab2) Thanks [@okize](https://github.com/okize)! - feat: include more rules from `import-x` and `eslint` base rules
389
+
390
+ ## 0.3.2
391
+
392
+ ### Patch Changes
393
+
394
+ - [#12](https://github.com/wistia/oxlint-config/pull/12) [`650b7cb`](https://github.com/wistia/oxlint-config/commit/650b7cbe893a5006aafabc543afc20f000378abb) Thanks [@okize](https://github.com/okize)! - feat: add type declarations for TypeScript consumers
395
+
396
+ ## 0.3.1
397
+
398
+ ### Patch Changes
399
+
400
+ - [#10](https://github.com/wistia/oxlint-config/pull/10) [`ad37d45`](https://github.com/wistia/oxlint-config/commit/ad37d45db5911119cc9d7725ada72b94ab22a311) Thanks [@okize](https://github.com/okize)! - fix: convert typescript to ESM javascript
401
+
402
+ ## 0.3.0
403
+
404
+ ### Minor Changes
405
+
406
+ - [#8](https://github.com/wistia/oxlint-config/pull/8) [`b4075f2`](https://github.com/wistia/oxlint-config/commit/b4075f22baf55fd80c196665250279620ecb5f97) Thanks [@okize](https://github.com/okize)! - feat: replace JSONC configs with TypeScript
407
+
408
+ ## 0.2.0
409
+
410
+ ### Minor Changes
411
+
412
+ - 10f14ec: feat: add config & rulesets for styled-components, testing-library, playwright & storybook'
413
+
414
+ ## 0.1.0
415
+
416
+ ### Minor Changes
417
+
418
+ - 25713f4: feat: shared oxlint configs for javascript, typescript, react, node, and vitest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "1.11.1",
3
+ "version": "1.11.2",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "keywords": [
6
6
  "linter",
@@ -92,19 +92,19 @@
92
92
  "typescript": "^6.0.3"
93
93
  },
94
94
  "devDependencies": {
95
- "@changesets/changelog-github": "^0.7.0",
96
- "@changesets/cli": "^2.31.1",
95
+ "@changesets/changelog-github": "^1.0.0",
96
+ "@changesets/cli": "^3.0.0",
97
97
  "eslint": "^10.8.0",
98
- "oxfmt": "^0.62.0",
99
- "oxlint": "^1.77.0",
98
+ "oxfmt": "^0.63.0",
99
+ "oxlint": "^1.78.0",
100
100
  "oxlint-tsgolint": "^7.0.2001",
101
101
  "storybook": "^10.5.5",
102
102
  "vitest": "^4.1.10"
103
103
  },
104
104
  "peerDependencies": {
105
105
  "eslint": ">= 10.8.0",
106
- "oxfmt": ">= 0.62.0",
107
- "oxlint": ">= 1.77.0",
106
+ "oxfmt": ">= 0.63.0",
107
+ "oxlint": ">= 1.78.0",
108
108
  "oxlint-tsgolint": ">= 7.0.2001"
109
109
  },
110
110
  "peerDependenciesMeta": {
@@ -116,4 +116,4 @@
116
116
  "node": "^20.19.0 || ^22.13.0 || >=24 || >=26"
117
117
  },
118
118
  "packageManager": "yarn@4.18.0"
119
- }
119
+ }
package/rules/base.mjs CHANGED
@@ -582,6 +582,10 @@ export const baseRules = {
582
582
  // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-with.html
583
583
  'eslint/no-with': 'error',
584
584
 
585
+ // Enforce variables to be declared separately
586
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/one-var.html
587
+ 'eslint/one-var': ['error', 'never'],
588
+
585
589
  // Require or disallow assignment operator shorthand where possible
586
590
  // https://oxc.rs/docs/guide/usage/linter/rules/eslint/operator-assignment.html
587
591
  'eslint/operator-assignment': ['error', 'always'],