@wistia/eslint-config 1.6.1 → 1.6.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wistia/eslint-config
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#426](https://github.com/wistia/eslint-config/pull/426) [`cf947bc`](https://github.com/wistia/eslint-config/commit/cf947bccbf5aa8347d3b9b9035d7b0b7cdc50599) Thanks [@okize](https://github.com/okize)! - fix: `no-undef-init` was meant to be set to `off` in typescript rules
8
+
3
9
  ## 1.6.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "type": "module",
@@ -39,34 +39,34 @@
39
39
  "test:export": "check-export-map"
40
40
  },
41
41
  "dependencies": {
42
- "@eslint/compat": "^2.0.0",
42
+ "@eslint/compat": "^2.0.1",
43
43
  "@eslint/js": "^9.39.2",
44
- "@stylistic/eslint-plugin": "^5.6.1",
45
- "@typescript-eslint/eslint-plugin": "^8.50.0",
46
- "@typescript-eslint/parser": "^8.50.0",
44
+ "@stylistic/eslint-plugin": "^5.7.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.53.1",
46
+ "@typescript-eslint/parser": "^8.53.1",
47
47
  "confusing-browser-globals": "^1.0.11",
48
48
  "eslint-import-resolver-typescript": "^4.4.4",
49
49
  "eslint-plugin-barrel-files": "^3.0.1",
50
50
  "eslint-plugin-filenames": "^1.3.2",
51
51
  "eslint-plugin-import": "^2.32.0",
52
- "eslint-plugin-jest": "^29.5.0",
52
+ "eslint-plugin-jest": "^29.12.1",
53
53
  "eslint-plugin-jest-dom": "^5.5.0",
54
54
  "eslint-plugin-jest-formatting": "^3.1.0",
55
55
  "eslint-plugin-jsx-a11y": "^6.10.2",
56
- "eslint-plugin-n": "^17.23.1",
56
+ "eslint-plugin-n": "^17.23.2",
57
57
  "eslint-plugin-no-only-tests": "^3.3.0",
58
58
  "eslint-plugin-no-typeof-window-undefined": "^0.0.2",
59
- "eslint-plugin-playwright": "^2.4.0",
60
- "eslint-plugin-prettier": "^5.5.4",
59
+ "eslint-plugin-playwright": "^2.5.0",
60
+ "eslint-plugin-prettier": "^5.5.5",
61
61
  "eslint-plugin-promise": "^7.2.1",
62
62
  "eslint-plugin-react": "^7.37.5",
63
63
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
64
64
  "eslint-plugin-react-hooks": "^7.0.1",
65
65
  "eslint-plugin-react-hooks-ssr": "^0.1.5",
66
66
  "eslint-plugin-ssr-friendly": "^1.3.0",
67
- "eslint-plugin-storybook": "^10.1.9",
67
+ "eslint-plugin-storybook": "^10.2.0",
68
68
  "eslint-plugin-styled-components-a11y": "^2.2.1",
69
- "eslint-plugin-testing-library": "^7.14.0",
69
+ "eslint-plugin-testing-library": "^7.15.4",
70
70
  "eslint-plugin-vitest": "^0.5.4",
71
71
  "globals": "^17.0.0",
72
72
  "globals-vitest": "^4.0.15"
@@ -74,16 +74,16 @@
74
74
  "devDependencies": {
75
75
  "@changesets/changelog-github": "^0.5.2",
76
76
  "@changesets/cli": "^2.29.8",
77
- "@commitlint/cli": "^20.2.0",
78
- "@commitlint/config-conventional": "^20.2.0",
77
+ "@commitlint/cli": "^20.3.1",
78
+ "@commitlint/config-conventional": "^20.3.1",
79
79
  "check-export-map": "^1.3.1",
80
80
  "eslint": "^9.39.2",
81
81
  "glob": "^13.0.0",
82
82
  "husky": "^9.1.7",
83
- "prettier": "^3.7.4",
84
- "storybook": "^10.1.9",
83
+ "prettier": "^3.8.0",
84
+ "storybook": "^10.2.0",
85
85
  "typescript": "^5.9.3",
86
- "vitest": "^4.0.16"
86
+ "vitest": "^4.0.17"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "eslint": ">= 9",
@@ -151,7 +151,7 @@ export default {
151
151
  ],
152
152
 
153
153
  // Prevent React to be incorrectly marked as unused
154
- // decision: no longer required with React 17 & babel `automatic` runtime
154
+ // decision: no longer required with React >= 17
155
155
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-uses-react.md
156
156
  'react/jsx-uses-react': 'off',
157
157
 
@@ -54,7 +54,7 @@ export default {
54
54
  'no-throw-literal': 'off',
55
55
 
56
56
  // decision: this conflicts with @typescript-eslint/init-declarations
57
- 'no-undef-init': 'error',
57
+ 'no-undef-init': 'off',
58
58
 
59
59
  // decision: prefer @typescript-eslint/no-unused-expressions
60
60
  'no-unused-expressions': 'off',
@@ -64,7 +64,7 @@
64
64
  "undefined": false,
65
65
  "unescape": false,
66
66
  },
67
- "parser": "typescript-eslint/parser@8.50.0",
67
+ "parser": "typescript-eslint/parser@8.53.1",
68
68
  "parserOptions": {
69
69
  "requireConfigFile": false,
70
70
  },
@@ -80,7 +80,7 @@
80
80
  "filenames",
81
81
  "import",
82
82
  "js:@eslint/js@9.39.2",
83
- "prettier:eslint-plugin-prettier@5.5.4",
83
+ "prettier:eslint-plugin-prettier@5.5.5",
84
84
  "promise",
85
85
  ],
86
86
  "rules": {
@@ -122,6 +122,7 @@
122
122
  ],
123
123
  "@stylistic/dot-location": [
124
124
  0,
125
+ "object",
125
126
  ],
126
127
  "@stylistic/eol-last": [
127
128
  0,
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "plugins": [
30
30
  "@",
31
- "jest:eslint-plugin-jest@29.5.0",
31
+ "jest:eslint-plugin-jest@29.12.1",
32
32
  "jest-formatting",
33
33
  "no-only-tests",
34
34
  ],
@@ -97,7 +97,7 @@
97
97
  },
98
98
  "plugins": [
99
99
  "@",
100
- "n:eslint-plugin-n@17.23.1",
100
+ "n:eslint-plugin-n@17.23.2",
101
101
  "import",
102
102
  ],
103
103
  "rules": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "plugins": [
15
15
  "@",
16
- "testing-library:eslint-plugin-testing-library@7.14.0",
16
+ "testing-library:eslint-plugin-testing-library@7.15.4",
17
17
  "jest-dom:eslint-plugin-jest-dom@5.5.0",
18
18
  ],
19
19
  "rules": {
@@ -64,7 +64,7 @@
64
64
  "undefined": false,
65
65
  "unescape": false,
66
66
  },
67
- "parser": "typescript-eslint/parser@8.50.0",
67
+ "parser": "typescript-eslint/parser@8.53.1",
68
68
  "parserOptions": {
69
69
  "ecmaVersion": 2024,
70
70
  "project": "./tsconfig.json",
@@ -78,11 +78,11 @@
78
78
  "plugins": [
79
79
  "@",
80
80
  "@stylistic",
81
- "@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
81
+ "@typescript-eslint:@typescript-eslint/eslint-plugin@8.53.1",
82
82
  "barrel-files:eslint-plugin-barrel-files@3.0.1",
83
83
  "filenames",
84
84
  "import",
85
- "prettier:eslint-plugin-prettier@5.5.4",
85
+ "prettier:eslint-plugin-prettier@5.5.5",
86
86
  "promise",
87
87
  ],
88
88
  "rules": {
@@ -124,6 +124,7 @@
124
124
  ],
125
125
  "@stylistic/dot-location": [
126
126
  0,
127
+ "object",
127
128
  ],
128
129
  "@stylistic/eol-last": [
129
130
  0,
@@ -2039,7 +2040,7 @@
2039
2040
  },
2040
2041
  ],
2041
2042
  "no-undef-init": [
2042
- 2,
2043
+ 0,
2043
2044
  ],
2044
2045
  "no-undefined": [
2045
2046
  0,