Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: context is not defined #104

Closed
koooge opened this issue Mar 17, 2025 · 1 comment · Fixed by #105
Closed

ReferenceError: context is not defined #104

koooge opened this issue Mar 17, 2025 · 1 comment · Fixed by #105
Labels

Comments

@koooge
Copy link
Contributor

koooge commented Mar 17, 2025

Hi there, #103 has a bug to crash with eslint@9. It's in [email protected]

Oops! Something went wrong! :(

ESLint: 9.22.0

ReferenceError: context is not defined
Occurred while linting /path/to/src/App.tsx:29
Rule: "react-redux/no-unused-prop-types"
    at belongsToReduxReact (/path/to/node_modules/eslint-plugin-react-redux/lib/rules/no-unused-prop-types.js:36:35)
    at /path/to/node_modules/eslint-plugin-react-redux/lib/rules/no-unused-prop-types.js:60:27
    at Array.some (<anonymous>)
    at MemberExpression (/path/to/node_modules/eslint-plugin-react-redux/lib/rules/no-unused-prop-types.js:60:10)
    at MemberExpression (/path/to/node_modules/eslint-rule-composer/lib/rule-composer.js:210:41)
    at ruleErrorHandler (/path/to/node_modules/eslint/lib/linter/linter.js:1160:48)
    at /path/to/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/path/to/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/path/to/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
koooge added a commit to koooge/eslint-plugin-react-redux that referenced this issue Mar 17, 2025
Copy link

🎉 This issue has been resolved in version 4.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant