@wistia/oxlint-config 1.12.11 → 1.12.12

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/CHANGELOG.md +33 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @wistia/oxlint-config
2
2
 
3
+ ## 1.12.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#209](https://github.com/wistia/oxlint-config/pull/209) [`735b630`](https://github.com/wistia/oxlint-config/commit/735b630eb46727e8be0c19679ae6acd08372bbf5) Thanks [@okize](https://github.com/okize)! - build(deps): upgrade `oxlint` to v1.89.0
8
+
9
+ - Bump peer minimum: `oxlint` to `>= 1.89.0`
10
+ - No new, renamed, or removed rules
11
+ - oxlint marks many rules as recommended. This config sets every rule explicitly and does not use categories, so no effect
12
+ - Rules already set to `error` that now report more code, no config change required:
13
+ - `eslint/prefer-const` reports destructuring assignments inside blocks
14
+ - `eslint/no-loop-func` detects writes after the loop
15
+ - `eslint/no-lonely-if` checks final `else` blocks in `else if` chains
16
+ - `eslint/prefer-template` reports separate nested concatenations
17
+ - `eslint/class-methods-use-this` counts `this` in parameter defaults
18
+ - `eslint/no-param-reassign` reports writes to rest parameters
19
+ - `eslint/no-useless-assignment` reports dead stores to function parameters. Off for TypeScript, so JavaScript only
20
+ - `eslint/no-setter-return` checks setters in property descriptors
21
+ - `eslint/id-length` checks destructuring assignment targets
22
+ - `unicorn/prefer-string-replace-all` resolves regex variables
23
+ - `unicorn/prefer-native-coercion-functions` checks object methods and function properties
24
+ - `unicorn/prefer-regexp-test` checks logical operands in boolean contexts
25
+ - `unicorn/prefer-type-error` handles parenthesized type checks
26
+ - Rules already set to `error` that now report less code, no config change required:
27
+ - `eslint/block-scoped-var` ignores declarations without writes
28
+ - `eslint/prefer-arrow-callback` ignores functions used as conditional tests
29
+ - `eslint/no-unused-vars` counts conditional calls in sequences as uses. Off for TypeScript, so JavaScript only
30
+ - `unicorn/prefer-spread` ignores `super` method calls
31
+ - `unicorn/no-array-callback-reference` ignores callback factory calls
32
+ - `unicorn/prefer-at` reports each slice index read once
33
+ - Fix changes on rules set to `error`: `eslint/no-var` skips the fix for redeclared bindings
34
+ - Rules set to `off`, no effect: `eslint/sort-vars`, `eslint/sort-imports`, `eslint/sort-keys`, `eslint/max-params`, `eslint/no-magic-numbers`, `eslint/no-div-regex`, `unicorn/no-useless-undefined`, `unicorn/prefer-string-raw`, `unicorn/catch-error-name`, `unicorn/consistent-function-scoping`
35
+
3
36
  ## 1.12.11
4
37
 
5
38
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "1.12.11",
3
+ "version": "1.12.12",
4
+ "packageManager": "yarn@4.18.1",
4
5
  "description": "Wistia's Oxlint configurations",
5
6
  "keywords": [
6
7
  "linter",
@@ -76,16 +77,16 @@
76
77
  "validate": "vitest run --project validate"
77
78
  },
78
79
  "dependencies": {
79
- "@eslint-react/eslint-plugin": "^5.26.1",
80
+ "@eslint-react/eslint-plugin": "^5.28.2",
80
81
  "@vitest/eslint-plugin": "^1.6.27",
81
82
  "confusing-browser-globals": "^1.0.11",
82
83
  "eslint-plugin-barrel-files": "^3.0.1",
83
84
  "eslint-plugin-import-x": "^4.17.1",
84
85
  "eslint-plugin-jest-dom": "^5.10.1",
85
- "eslint-plugin-n": "^18.4.1",
86
+ "eslint-plugin-n": "^18.5.0",
86
87
  "eslint-plugin-no-only-tests": "^3.4.0",
87
88
  "eslint-plugin-playwright": "^2.12.1",
88
- "eslint-plugin-storybook": "^10.6.1",
89
+ "eslint-plugin-storybook": "^10.6.3",
89
90
  "eslint-plugin-styled-components": "^0.0.0",
90
91
  "eslint-plugin-styled-components-a11y": "^2.2.1",
91
92
  "eslint-plugin-testing-library": "^7.16.2",
@@ -94,18 +95,18 @@
94
95
  "devDependencies": {
95
96
  "@changesets/changelog-github": "^1.0.1",
96
97
  "@changesets/cli": "^3.0.3",
97
- "eslint": "^10.12.0",
98
- "oxfmt": "^0.72.0",
99
- "oxlint": "^1.88.0",
98
+ "eslint": "^10.13.0",
99
+ "oxfmt": "^0.74.0",
100
+ "oxlint": "^1.89.0",
100
101
  "oxlint-tsgolint": "^7.0.2004",
101
- "storybook": "^10.6.1",
102
+ "storybook": "^10.6.3",
102
103
  "vite": "^8.3.4",
103
- "vitest": "^5.0.4"
104
+ "vitest": "^5.0.5"
104
105
  },
105
106
  "peerDependencies": {
106
- "eslint": ">= 10.12.0",
107
- "oxfmt": ">= 0.72.0",
108
- "oxlint": ">= 1.88.0",
107
+ "eslint": ">= 10.13.0",
108
+ "oxfmt": ">= 0.74.0",
109
+ "oxlint": ">= 1.89.0",
109
110
  "oxlint-tsgolint": ">= 7.0.2004"
110
111
  },
111
112
  "peerDependenciesMeta": {
@@ -115,6 +116,5 @@
115
116
  },
116
117
  "engines": {
117
118
  "node": "^20.19.0 || ^22.13.0 || >=24 || >=26"
118
- },
119
- "packageManager": "yarn@4.18.0"
119
+ }
120
120
  }