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

Wrap single-line bodies of if statements in curly braces #34

Open
farbs03 opened this issue Aug 1, 2024 · 1 comment
Open

Wrap single-line bodies of if statements in curly braces #34

farbs03 opened this issue Aug 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@farbs03
Copy link
Collaborator

farbs03 commented Aug 1, 2024

This makes it more difficult for other devs to introduce bugs.

@trel trel added the enhancement New feature or request label Aug 1, 2024
@korydraughn
Copy link

For example, the following code:

if (x < 5)
    ++x;

should be updated to include curly braces like so:

if (x < 5) {
    ++x;
}

farbs03 added a commit to farbs03/irods_client_http_typescript that referenced this issue Aug 1, 2024
in curly braces

- Only done in operation files
korydraughn pushed a commit that referenced this issue Aug 1, 2024
in curly braces

- Only done in operation files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants