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

Added jsx-key converter #638

Merged
merged 2 commits into from
Jul 25, 2020
Merged

Added jsx-key converter #638

merged 2 commits into from
Jul 25, 2020

Conversation

KingDarBoja
Copy link
Collaborator

PR Checklist

Overview

Based on eslint-plugin-react, provides the correct converter for this rule.

However, I am not 100% sure about the <enabled> rule argument as this doesn't seem to be a string but TS code will mark it as a property if it isn't.

@KingDarBoja KingDarBoja added the status: waiting for reviewer Waiting for a maintainer to review label Jul 18, 2020
@KingDarBoja KingDarBoja added this to the Version 1.1 milestone Jul 18, 2020
@KingDarBoja KingDarBoja self-assigned this Jul 18, 2020
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks generally good - let's just get rid of the "<enabled>"?

src/rules/converters/eslint-plugin-react/jsx-key.ts Outdated Show resolved Hide resolved
@JoshuaKGoldberg JoshuaKGoldberg added status: waiting for author The PR author should address requested changes and removed status: waiting for reviewer Waiting for a maintainer to review labels Jul 18, 2020
@KingDarBoja KingDarBoja added status: waiting for reviewer Waiting for a maintainer to review and removed status: waiting for author The PR author should address requested changes labels Jul 18, 2020
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@JoshuaKGoldberg JoshuaKGoldberg removed the status: waiting for reviewer Waiting for a maintainer to review label Jul 25, 2020
@JoshuaKGoldberg JoshuaKGoldberg merged commit 1073733 into typescript-eslint:master Jul 25, 2020
@KingDarBoja KingDarBoja deleted the react/jsx-key branch July 25, 2020 18:28
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.

Missing tslint-react rule: jsx-key
2 participants