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

Update eslint dependencies to latest version #3682

Merged
merged 2 commits into from Feb 6, 2023

Conversation

francoismora
Copy link
Contributor

The function sanitizeTypeScriptESLintRule() causes an error when the decorated eslint rule uses the new flat configuration properties because it replaces the context with an intercepting context that is missing the new properties. However, the intercepting context is not changing the semantic of the eslint context. Therefore, it can be removed and this fixes the problem.

Also, the estlint-plugin-react plugin brings changes that improve the ruling:

  1. Improve false-negative of 'jsx-key' S6477 with (#3490)
  2. Fix false-positive of 'jsx-no-constructed-context-values' S6481 when the issue is not in a React component.

Fixes #3681

@francoismora francoismora marked this pull request as ready for review February 2, 2023 15:59
@yassin-kammoun-sonarsource yassin-kammoun-sonarsource changed the title Update eslint dependencies to latest version Update eslint dependencies to 8.21.0 Feb 3, 2023
@yassin-kammoun-sonarsource yassin-kammoun-sonarsource changed the title Update eslint dependencies to 8.21.0 Update eslint dependencies to latest version Feb 3, 2023
@sonarsource-next
Copy link

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

Successfully merging this pull request may close these issues.

Update eslint dependencies to latest version
2 participants