Skip to content

Commit 4598bf4

Browse files
committed
fix: resolve React plugin loading error in legacy configuration
- Add explicit react plugin declaration to legacy.js plugins array - Fixes 'Cannot find module eslint-plugin-react' error when using legacy config - Bump version to 3.0.1
1 parent c9f47b5 commit 4598bf4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [3.0.1] - 2025-07-24
6+
7+
### Fixed
8+
9+
- Fixed "Failed to load plugin 'react'" error in legacy configuration by explicitly declaring the react plugin
10+
- Added missing react plugin declaration in legacy.js plugins array
11+
512
## [3.0.0] - 2025-07-24
613

714
### Breaking Changes

legacy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
"prettier",
88
"plugin:prettier/recommended",
99
],
10-
plugins: ["@typescript-eslint", "import", "unused-imports"],
10+
plugins: ["react", "@typescript-eslint", "import", "unused-imports"],
1111
parserOptions: {
1212
ecmaVersion: 2022, // Updated to support newer JavaScript features in Next.js 15
1313
sourceType: "module",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hypetech/eslint-config",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "ESlint config based on HypeTech Frontend Coding Standards",
55
"keywords": [
66
"HypeTech",

0 commit comments

Comments
 (0)