@wistia/oxlint-config 1.12.2 → 1.12.4
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 +36 -0
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @wistia/oxlint-config
|
|
2
2
|
|
|
3
|
+
## 1.12.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#189](https://github.com/wistia/oxlint-config/pull/189) [`2b702fe`](https://github.com/wistia/oxlint-config/commit/2b702fe8e4f34212447387d6c86c19403f499462) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.82.0
|
|
8
|
+
|
|
9
|
+
- Bump `oxlint` peer minimum to `>= 1.82.0` and `oxfmt` peer minimum to `>= 0.67.0`
|
|
10
|
+
- No new, renamed, or removed rules in v1.82.0
|
|
11
|
+
- `eslint/no-unmodified-loop-condition` gains a `checkConditionalExpressions` option. It defaults to `false`, so the rule behaves as before
|
|
12
|
+
- Changes to rules already set to `error`, no config change required:
|
|
13
|
+
- `eslint/no-useless-assignment` now tracks destructuring assignment targets. Consumers may see new errors in plain JavaScript (the rule is off in the typescript config)
|
|
14
|
+
- `eslint/no-unused-vars` now follows references inside arrow functions stored on properties or passed to calls and constructors. Results may change in plain JavaScript (the rule is off in the typescript config)
|
|
15
|
+
- `jsx_a11y/anchor-has-content` allows anchors passed as custom component props
|
|
16
|
+
- `eslint/no-array-constructor` autofix inserts a semicolon when the replacement `[` would otherwise chain onto the previous line
|
|
17
|
+
- `typescript/no-explicit-any` autofix replaces a bare `any` rest parameter with `unknown[]`
|
|
18
|
+
- `typescript/no-extraneous-class` no longer suggests deleting empty class expressions
|
|
19
|
+
- `eslint/id-length` `properties: 'never'` now covers TypeScript interface and type-literal members. This config does not set that option, so no effect
|
|
20
|
+
- Rules set to `off`, no effect: `unicorn/numeric-separators-style` (schema defaults corrected), `react/jsx-no-literals` (checks nested JSX expression literals)
|
|
21
|
+
|
|
22
|
+
## 1.12.3
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- [#185](https://github.com/wistia/oxlint-config/pull/185) [`37db72a`](https://github.com/wistia/oxlint-config/commit/37db72a980e94c786ecc359c2a7e00d4532e6a9b) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.81.0
|
|
27
|
+
|
|
28
|
+
- Bump `oxlint` peer minimum to `>= 1.81.0` and `oxfmt` peer minimum to `>= 0.66.0`
|
|
29
|
+
- No new, renamed, or removed rules in v1.81.0
|
|
30
|
+
- Changes to rules already set to `error`, no config change required:
|
|
31
|
+
- `eslint/no-use-before-define` now runs on `.js` and `.jsx` files. A leftover TypeScript-only gate had silenced it there since the rule moved from the `typescript` plugin. Consumers may see new errors in plain JavaScript
|
|
32
|
+
- `react/no-unstable-nested-components` now matches `propNamePattern` against the immediate object property, so render-prop objects inside arrays are checked
|
|
33
|
+
- `import/no-empty-named-blocks` now offers removal of an empty value import as a suggestion instead of an autofix, since deleting it can drop side effects. Empty type-only imports are still autofixed
|
|
34
|
+
- `unicorn/prefer-math-min-max` no longer applies an unsafe autofix
|
|
35
|
+
- `unicorn/prefer-set-size` ignores shadowed `Set` constructors
|
|
36
|
+
- `unicorn/no-useless-spread` treats typed arrays as a distinct value
|
|
37
|
+
- `eslint/no-unassigned-vars` skips Svelte and Vue files
|
|
38
|
+
|
|
3
39
|
## 1.12.2
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/oxlint-config",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
4
4
|
"description": "Wistia's Oxlint configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"linter",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"format:ci": "oxfmt -c oxfmt.config.mjs --check .",
|
|
73
73
|
"outdated": "yarn upgrade-interactive",
|
|
74
74
|
"release": "changeset publish",
|
|
75
|
-
"test": "vitest run --
|
|
76
|
-
"validate": "vitest run
|
|
75
|
+
"test": "vitest run --project test",
|
|
76
|
+
"validate": "vitest run --project validate"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@eslint-react/eslint-plugin": "^5.18.6",
|
|
@@ -95,16 +95,17 @@
|
|
|
95
95
|
"@changesets/changelog-github": "^1.0.0",
|
|
96
96
|
"@changesets/cli": "^3.0.1",
|
|
97
97
|
"eslint": "^10.9.0",
|
|
98
|
-
"oxfmt": "^0.
|
|
99
|
-
"oxlint": "^1.
|
|
98
|
+
"oxfmt": "^0.67.0",
|
|
99
|
+
"oxlint": "^1.82.0",
|
|
100
100
|
"oxlint-tsgolint": "^7.0.2001",
|
|
101
101
|
"storybook": "^10.5.10",
|
|
102
|
-
"
|
|
102
|
+
"vite": "^8.2.2",
|
|
103
|
+
"vitest": "^5.0.0"
|
|
103
104
|
},
|
|
104
105
|
"peerDependencies": {
|
|
105
106
|
"eslint": ">= 10.9.0",
|
|
106
|
-
"oxfmt": ">= 0.
|
|
107
|
-
"oxlint": ">= 1.
|
|
107
|
+
"oxfmt": ">= 0.67.0",
|
|
108
|
+
"oxlint": ">= 1.82.0",
|
|
108
109
|
"oxlint-tsgolint": ">= 7.0.2001"
|
|
109
110
|
},
|
|
110
111
|
"peerDependenciesMeta": {
|