@wistia/oxlint-config 1.0.1 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "packageManager": "yarn@4.14.1",
6
6
  "type": "module",
@@ -51,21 +51,21 @@
51
51
  "validate": "vitest run test/validate-configs.test.mjs"
52
52
  },
53
53
  "peerDependencies": {
54
- "eslint": ">= 10.4.0",
55
- "oxlint": ">= 1.67.0",
54
+ "eslint": ">= 10.4.1",
55
+ "oxlint": ">= 1.69.0",
56
56
  "oxlint-tsgolint": ">= 0.23.0"
57
57
  },
58
58
  "dependencies": {
59
- "@eslint-react/eslint-plugin": "^5.8.5",
60
- "@vitest/eslint-plugin": "^1.6.18",
59
+ "@eslint-react/eslint-plugin": "^5.8.16",
60
+ "@vitest/eslint-plugin": "^1.6.19",
61
61
  "confusing-browser-globals": "^1.0.11",
62
62
  "eslint-plugin-barrel-files": "^3.0.1",
63
63
  "eslint-plugin-import-x": "^4.16.2",
64
64
  "eslint-plugin-jest-dom": "^5.5.0",
65
- "eslint-plugin-n": "^18.0.1",
65
+ "eslint-plugin-n": "^18.1.0",
66
66
  "eslint-plugin-no-only-tests": "^3.4.0",
67
67
  "eslint-plugin-playwright": "^2.10.4",
68
- "eslint-plugin-storybook": "^10.4.1",
68
+ "eslint-plugin-storybook": "^10.4.2",
69
69
  "eslint-plugin-styled-components": "^0.0.0",
70
70
  "eslint-plugin-styled-components-a11y": "^2.2.1",
71
71
  "eslint-plugin-testing-library": "^7.16.2",
@@ -74,12 +74,12 @@
74
74
  "devDependencies": {
75
75
  "@changesets/changelog-github": "^0.7.0",
76
76
  "@changesets/cli": "^2.31.0",
77
- "eslint": "^10.4.0",
78
- "oxfmt": "^0.52.0",
79
- "oxlint": "^1.67.0",
77
+ "eslint": "^10.4.1",
78
+ "oxfmt": "^0.54.0",
79
+ "oxlint": "^1.69.0",
80
80
  "oxlint-tsgolint": "^0.23.0",
81
- "storybook": "^10.4.1",
82
- "vitest": "^4.1.7"
81
+ "storybook": "^10.4.2",
82
+ "vitest": "^4.1.8"
83
83
  },
84
84
  "engines": {
85
85
  "node": "^20.19.0 || ^22.13.0 || >=24 || >=26"
package/rules/base.mjs CHANGED
@@ -618,6 +618,11 @@ export const baseRules = {
618
618
  // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.html
619
619
  'eslint/prefer-exponentiation-operator': 'error',
620
620
 
621
+ // Enforce using named capture group in regular expression
622
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-named-capture-group.html
623
+ // Decision: too strict for general use
624
+ 'eslint/prefer-named-capture-group': 'off',
625
+
621
626
  // Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals
622
627
  // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.html
623
628
  'eslint/prefer-numeric-literals': 'error',
@@ -108,6 +108,10 @@ export const typescriptRules = {
108
108
  // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-module-boundary-types.html
109
109
  'typescript/explicit-module-boundary-types': 'error',
110
110
 
111
+ // Enforce using a particular method signature syntax
112
+ // https://oxc.rs/docs/guide/usage/linter/rules/typescript/method-signature-style.html
113
+ 'typescript/method-signature-style': 'error',
114
+
111
115
  // Disallow using the delete operator on array values
112
116
  // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-array-delete.html
113
117
  'typescript/no-array-delete': 'error',