@wistia/oxlint-config 1.12.9 → 1.12.11

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 (3) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +5 -5
  3. package/package.json +16 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @wistia/oxlint-config
2
2
 
3
+ ## 1.12.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#206](https://github.com/wistia/oxlint-config/pull/206) [`6c48ca5`](https://github.com/wistia/oxlint-config/commit/6c48ca50086fa45619e10a45738282466b1b7fb2) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.88.0
8
+
9
+ - Bump peer minimums: `oxlint` to `>= 1.88.0`, `oxlint-tsgolint` to `>= 7.0.2004`, `eslint` to `>= 10.12.0`, `oxfmt` to `>= 0.72.0`
10
+ - No new, renamed, or removed rules
11
+ - Changes to rules already set to `error`, no config change required:
12
+ - `unicorn/prefer-bigint-literals` unwraps redundant `BigInt()` calls and skips the auto-fix when precision would be lost
13
+ - `oxc/bad-array-method-on-arguments` runs faster, no behavior change
14
+ - Rules set to `off`, no effect: `eslint/sort-keys` (natural sort order now matches ESLint), `unicorn/prefer-query-selector` (gains an `allowWithVariables` option)
15
+
16
+ ## 1.12.10
17
+
18
+ ### Patch Changes
19
+
20
+ - [#202](https://github.com/wistia/oxlint-config/pull/202) [`2e9a7b1`](https://github.com/wistia/oxlint-config/commit/2e9a7b1561577907c6970fd7519a7b76f01c6df5) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.87.0
21
+
22
+ - Bump peer minimum: `oxlint` to `>= 1.87.0`
23
+ - No new, renamed, or removed rules
24
+ - Changes to rules already set to `error`, no config change required:
25
+ - `react/no-unescaped-entities` and `react/jsx-no-target-blank` gain editor suggestions
26
+ - `jsx-a11y/label-has-associated-control` validates label attribute values
27
+ - `jsx-a11y/mouse-events-have-key-events` handles `null` and `undefined` event handlers
28
+ - `jsx-a11y/lang` validates `lang` values written as expression strings, such as `lang={'en'}`
29
+ - `eslint/prefer-exponentiation-operator` keeps operator precedence in its fix
30
+ - `vitest/valid-title` keeps checking a title after an allowed word
31
+ - `eslint/no-unused-vars` fixes ignore patterns when argument checks are disabled. This config sets `args: 'after-used'`, so no effect
32
+ - Rules set to `off`, no effect: `unicorn/no-useless-switch-case` (gains a suggestion), `unicorn/numeric-separators-style` (reports misgrouped BigInt literals), `unicorn/no-zero-fractions` (fixer change)
33
+
3
34
  ## 1.12.9
4
35
 
5
36
  ### Patch Changes
package/README.md CHANGED
@@ -38,8 +38,8 @@ Create an `oxlint.config.ts` in your project root:
38
38
  **TypeScript & React project** (most common):
39
39
 
40
40
  ```ts
41
- import { defineConfig } from 'oxlint';
42
41
  import { typescriptConfig, reactConfig } from '@wistia/oxlint-config';
42
+ import { defineConfig } from 'oxlint';
43
43
 
44
44
  export default defineConfig({
45
45
  extends: [typescriptConfig, reactConfig],
@@ -49,8 +49,8 @@ export default defineConfig({
49
49
  **JavaScript-only project:**
50
50
 
51
51
  ```ts
52
- import { defineConfig } from 'oxlint';
53
52
  import { javascriptConfig } from '@wistia/oxlint-config';
53
+ import { defineConfig } from 'oxlint';
54
54
 
55
55
  export default defineConfig({
56
56
  extends: [javascriptConfig],
@@ -83,7 +83,6 @@ Feature configs wrap their rules in `overrides` with default file patterns, so t
83
83
  **Composing configs:**
84
84
 
85
85
  ```ts
86
- import { defineConfig } from 'oxlint';
87
86
  import {
88
87
  typescriptConfig,
89
88
  reactConfig,
@@ -93,6 +92,7 @@ import {
93
92
  storybookConfig,
94
93
  nodeConfig,
95
94
  } from '@wistia/oxlint-config';
95
+ import { defineConfig } from 'oxlint';
96
96
 
97
97
  export default defineConfig({
98
98
  extends: [
@@ -124,8 +124,8 @@ export default defineConfig({
124
124
  File-specific overrides use `overrides`. Note that `extends` is not supported inside `overrides` — use rule imports for those:
125
125
 
126
126
  ```ts
127
- import { defineConfig } from 'oxlint';
128
127
  import { typescriptConfig, vitestRules } from '@wistia/oxlint-config';
128
+ import { defineConfig } from 'oxlint';
129
129
 
130
130
  export default defineConfig({
131
131
  extends: [typescriptConfig],
@@ -166,8 +166,8 @@ Create an `oxfmt.config.mts` in your project root. Spread `oxfmtConfig` and over
166
166
 
167
167
  ```ts
168
168
  import type { OxfmtConfig } from 'oxfmt';
169
- import { defineConfig } from 'oxfmt';
170
169
  import { oxfmtConfig } from '@wistia/oxlint-config/oxfmtConfig';
170
+ import { defineConfig } from 'oxfmt';
171
171
 
172
172
  // oxlint-disable-next-line import-x/no-default-export
173
173
  export default defineConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "1.12.9",
3
+ "version": "1.12.11",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "keywords": [
6
6
  "linter",
@@ -76,16 +76,16 @@
76
76
  "validate": "vitest run --project validate"
77
77
  },
78
78
  "dependencies": {
79
- "@eslint-react/eslint-plugin": "^5.20.5",
79
+ "@eslint-react/eslint-plugin": "^5.26.1",
80
80
  "@vitest/eslint-plugin": "^1.6.27",
81
81
  "confusing-browser-globals": "^1.0.11",
82
82
  "eslint-plugin-barrel-files": "^3.0.1",
83
83
  "eslint-plugin-import-x": "^4.17.1",
84
84
  "eslint-plugin-jest-dom": "^5.10.1",
85
- "eslint-plugin-n": "^18.3.0",
85
+ "eslint-plugin-n": "^18.4.1",
86
86
  "eslint-plugin-no-only-tests": "^3.4.0",
87
- "eslint-plugin-playwright": "^2.12.0",
88
- "eslint-plugin-storybook": "^10.6.0",
87
+ "eslint-plugin-playwright": "^2.12.1",
88
+ "eslint-plugin-storybook": "^10.6.1",
89
89
  "eslint-plugin-styled-components": "^0.0.0",
90
90
  "eslint-plugin-styled-components-a11y": "^2.2.1",
91
91
  "eslint-plugin-testing-library": "^7.16.2",
@@ -94,19 +94,19 @@
94
94
  "devDependencies": {
95
95
  "@changesets/changelog-github": "^1.0.1",
96
96
  "@changesets/cli": "^3.0.3",
97
- "eslint": "^10.11.0",
98
- "oxfmt": "^0.71.0",
99
- "oxlint": "^1.86.0",
100
- "oxlint-tsgolint": "^7.0.2003",
101
- "storybook": "^10.6.0",
102
- "vite": "^8.3.0",
103
- "vitest": "^5.0.1"
97
+ "eslint": "^10.12.0",
98
+ "oxfmt": "^0.72.0",
99
+ "oxlint": "^1.88.0",
100
+ "oxlint-tsgolint": "^7.0.2004",
101
+ "storybook": "^10.6.1",
102
+ "vite": "^8.3.4",
103
+ "vitest": "^5.0.4"
104
104
  },
105
105
  "peerDependencies": {
106
- "eslint": ">= 10.11.0",
107
- "oxfmt": ">= 0.71.0",
108
- "oxlint": ">= 1.86.0",
109
- "oxlint-tsgolint": ">= 7.0.2003"
106
+ "eslint": ">= 10.12.0",
107
+ "oxfmt": ">= 0.72.0",
108
+ "oxlint": ">= 1.88.0",
109
+ "oxlint-tsgolint": ">= 7.0.2004"
110
110
  },
111
111
  "peerDependenciesMeta": {
112
112
  "oxfmt": {