Skip to content

vue/component-tags-order should enforce order between <script> and <script setup> #1819

Closed
@achaphiv

Description

@achaphiv

What rule do you want to change?
vue/component-tags-order

Does this change cause the rule to produce more or fewer warnings?
More.

How will the change be implemented? (New option, new default behavior, etc.)?
New configuration option.

Possibly the new default?

Example

<script setup>
  // ...
</script>

<script>
  // ...
</script>

What does the rule currently do for this code?
Nothing.

What will the rule do after it's changed?

Move <script setup> below <script>.

<script>
  // ...
</script>

<script setup>
  // ...
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions