@wistia/eslint-config 0.37.0 → 0.38.0

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Wistia's ESLint configurations",
5
- "packageManager": "yarn@4.3.1",
5
+ "packageManager": "yarn@4.5.3",
6
6
  "main": "react.js",
7
7
  "files": [
8
8
  "/configs",
@@ -42,61 +42,62 @@
42
42
  "test:stylelint": "stylelint --print-config ./test/index.mjs"
43
43
  },
44
44
  "dependencies": {
45
- "@babel/core": "^7.25.2",
46
- "@babel/eslint-parser": "^7.25.1",
47
- "@babel/preset-react": "^7.24.7",
45
+ "@babel/core": "^7.26.0",
46
+ "@babel/eslint-parser": "^7.25.9",
47
+ "@babel/preset-react": "^7.26.3",
48
48
  "@rushstack/eslint-patch": "^1.10.4",
49
- "@typescript-eslint/eslint-plugin": "^8.4.0",
50
- "@typescript-eslint/parser": "^8.4.0",
49
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
50
+ "@typescript-eslint/parser": "^8.18.0",
51
51
  "confusing-browser-globals": "^1.0.11",
52
- "eslint": "^8.57.0",
52
+ "eslint": "^8.57.1",
53
53
  "eslint-config-prettier": "^9.1.0",
54
- "eslint-import-resolver-typescript": "^3.6.3",
55
- "eslint-plugin-cypress": "^3.5.0",
54
+ "eslint-import-resolver-typescript": "^3.7.0",
55
+ "eslint-plugin-cypress": "^3.6.0",
56
56
  "eslint-plugin-deprecation": "^3.0.0",
57
57
  "eslint-plugin-filenames": "^1.3.2",
58
58
  "eslint-plugin-fp": "^2.3.0",
59
- "eslint-plugin-import": "^2.30.0",
60
- "eslint-plugin-jest": "^28.8.3",
61
- "eslint-plugin-jest-dom": "^5.4.0",
59
+ "eslint-plugin-import": "^2.31.0",
60
+ "eslint-plugin-jest": "^28.9.0",
61
+ "eslint-plugin-jest-dom": "^5.5.0",
62
62
  "eslint-plugin-jest-formatting": "^3.1.0",
63
- "eslint-plugin-jsdoc": "^50.2.2",
64
- "eslint-plugin-jsx-a11y": "^6.10.0",
65
- "eslint-plugin-n": "^17.10.2",
63
+ "eslint-plugin-jsdoc": "^50.6.1",
64
+ "eslint-plugin-jsx-a11y": "^6.10.2",
65
+ "eslint-plugin-n": "^17.15.0",
66
66
  "eslint-plugin-no-only-tests": "^3.3.0",
67
67
  "eslint-plugin-no-snapshot-testing": "^1.0.61",
68
68
  "eslint-plugin-no-typeof-window-undefined": "^0.0.2",
69
69
  "eslint-plugin-observers": "^1.0.1",
70
70
  "eslint-plugin-prettier": "^5.2.1",
71
- "eslint-plugin-promise": "^7.1.0",
72
- "eslint-plugin-react": "^7.35.2",
73
- "eslint-plugin-react-hooks": "^4.6.2",
71
+ "eslint-plugin-promise": "^7.2.1",
72
+ "eslint-plugin-react": "^7.37.2",
73
+ "eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
74
+ "eslint-plugin-react-hooks": "^5.1.0",
74
75
  "eslint-plugin-react-hooks-ssr": "^0.1.5",
75
76
  "eslint-plugin-sonarjs": "^1.0.4",
76
77
  "eslint-plugin-ssr-friendly": "^1.3.0",
77
- "eslint-plugin-storybook": "^0.8.0",
78
- "eslint-plugin-styled-components-a11y": "^2.1.35",
79
- "eslint-plugin-testing-library": "^6.3.0",
78
+ "eslint-plugin-storybook": "^0.11.1",
79
+ "eslint-plugin-styled-components-a11y": "^2.1.36",
80
+ "eslint-plugin-testing-library": "^6.5.0",
80
81
  "eslint-plugin-vitest": "^0.5.4",
81
82
  "eslint-plugin-vitest-globals": "^1.5.0",
82
- "postcss": "^8.4.45",
83
+ "postcss": "^8.4.49",
83
84
  "postcss-scss": "^4.0.9",
84
- "postcss-styled-syntax": "^0.6.4",
85
- "prettier": "^3.3.3",
86
- "stylelint": "^16.9.0",
85
+ "postcss-styled-syntax": "^0.7.0",
86
+ "prettier": "^3.4.2",
87
+ "stylelint": "^16.11.0",
87
88
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
88
89
  "stylelint-prettier": "^5.0.2",
89
- "stylelint-scss": "^6.5.1"
90
+ "stylelint-scss": "^6.10.0"
90
91
  },
91
92
  "devDependencies": {
92
93
  "@changesets/changelog-github": "^0.5.0",
93
- "@changesets/cli": "^2.27.8",
94
- "@commitlint/cli": "^19.4.1",
95
- "@commitlint/config-conventional": "^19.4.1",
94
+ "@changesets/cli": "^2.27.10",
95
+ "@commitlint/cli": "^19.6.0",
96
+ "@commitlint/config-conventional": "^19.6.0",
96
97
  "check-export-map": "^1.3.1",
97
- "husky": "^9.1.5",
98
- "typescript": "^5.5.4",
99
- "vitest": "^2.0.5"
98
+ "husky": "^9.1.7",
99
+ "typescript": "^5.7.2",
100
+ "vitest": "^2.1.8"
100
101
  },
101
102
  "resolutions": {
102
103
  "postcss": ">=8.4.38"
@@ -2,7 +2,7 @@
2
2
  // see: https://github.com/jsx-eslint/eslint-plugin-react#list-of-supported-rules
3
3
 
4
4
  module.exports = {
5
- plugins: ['eslint-plugin-react'],
5
+ plugins: ['eslint-plugin-react', 'eslint-plugin-react-compiler'],
6
6
 
7
7
  parserOptions: {
8
8
  ecmaFeatures: {
@@ -11,6 +11,9 @@ module.exports = {
11
11
  },
12
12
 
13
13
  rules: {
14
+ // Surfaces problematic React code found by the React compiler
15
+ 'react-compiler/react-compiler': 'error',
16
+
14
17
  // Specify whether double or single quotes should be used in JSX attributes
15
18
  // https://eslint.org/docs/rules/jsx-quotes
16
19
  'jsx-quotes': ['error', 'prefer-double'],