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

Closing brackets should not be allowed to go multiline #2483

Open
rafaellehmkuhl opened this issue Jun 24, 2024 · 0 comments
Open

Closing brackets should not be allowed to go multiline #2483

rafaellehmkuhl opened this issue Jun 24, 2024 · 0 comments

Comments

@rafaellehmkuhl
Copy link

Please describe what the rule should do:
Closing brackets should not be allowed to go multiline.

What category should the rule belong to?
[x] Enforces code style (layout)

<div class="mb-10 slide-right-to-left">
  <v-btn fab small>
    <v-tooltip open-delay="600">Cancel</v-tooltip
    ><v-icon>mdi-close</v-icon></v-btn
  >
</div>

The previous situation, where both v-tooltip and v-btn have their > in a newline, is currently accepted.
The following should be enforced:

<div class="mb-10 slide-right-to-left">
  <v-btn fab small>
    <v-tooltip open-delay="600">Cancel</v-tooltip>
    <v-icon>mdi-close</v-icon>
  </v-btn>
</div>

Am I missing something or there's no rule to enforce this yet?

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

No branches or pull requests

1 participant