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

Add rule react/jsx-curly-spacing #37

Merged
merged 14 commits into from
Jan 17, 2024
Merged

Conversation

fellax1
Copy link
Contributor

@fellax1 fellax1 commented Jan 10, 2024

Problem

We have the rule that curly braces e.g. describing objects should be padded with a space, but the rule is not enforced in jsx.

Solution

Add the rule for jsx.

@fellax1 fellax1 requested a review from markusn January 10, 2024 12:24
@fellax1 fellax1 marked this pull request as draft January 10, 2024 12:25
index.js Outdated Show resolved Hide resolved
@fellax1 fellax1 marked this pull request as ready for review January 16, 2024 12:03
Copy link

@linus linus left a comment

Choose a reason for hiding this comment

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

{{ ⭐ 👑 💯 }}

@linus linus merged commit 73c6fcc into master Jan 17, 2024
3 checks passed
@linus linus deleted the add-rule-react-jsx-curly-spacing branch January 17, 2024 10:15
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.

3 participants