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

[core] Enforce curly braces for block statements #27946

Merged
merged 2 commits into from
Aug 25, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Aug 24, 2021

Talked about this informally before. I feel like this improves readability in all instances so we should enforce it (fixable) via lint rule instead of nitpicking in code reviews.

@eps1lon eps1lon requested a review from a team August 24, 2021 18:01
@mui-pr-bot
Copy link

mui-pr-bot commented Aug 24, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against cbf82a4

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

still like one line in some case but happy to follow this rule.

@eps1lon eps1lon merged commit c7a3739 into mui:next Aug 25, 2021
@eps1lon eps1lon deleted the test/eslint-curly branch August 25, 2021 13:45
@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants