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

chore: require curly brackets for multiline blocks #702

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

EvanHahn
Copy link
Contributor

This enables the ESLint curly rule to enforce the use of curly brackets when the block contains multiple lines.

After reading a bunch of our code, this intends to make explicit an implicit part of our code style.

This enables the [ESLint `curly` rule][0] to enforce the use of curly
brackets when the block contains multiple lines.

After reading a bunch of our code, this intends to make explicit an
implicit part of our code style.

[0]: https://eslint.org/docs/latest/rules/curly
@EvanHahn EvanHahn requested a review from achou11 June 17, 2024 14:59
@EvanHahn EvanHahn merged commit f0997b6 into main Jun 24, 2024
7 checks passed
@EvanHahn EvanHahn deleted the eslint-curly branch June 24, 2024 20:14
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.

2 participants