Skip to content

Enforce parens when formatting on more operators #13711

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

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

josevalim
Copy link
Member

  • On bitwise operators

  • On right precedence operators which are semantically non-associative (such as -- and potentially ---)

Closes #13710.

* On bitwise operators

* On right precedence operators which are semantically
  non-associative (such as -- and potentially ---)
@josevalim josevalim merged commit d9cf285 into main Jul 8, 2024
18 checks passed
@josevalim josevalim deleted the jv-formatter-operator branch July 8, 2024 16:23
@josevalim
Copy link
Member Author

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

"--" should have explicit parens in the formatter
2 participants