Skip to content

Add setup and emits to the options checked by the vue/order-in-components rule. #1134

Closed
@ota-meshi

Description

@ota-meshi

Please describe what the rule should do:

The vue/order-in-components rule checks setup and emits options. (setup and emits added in Vue.js 3.x)
The default order for the vue/order-in-components rule is designed according to the style guide.
But, setup and emits are new options added in Vue.js 3.x, and the order is not defined in the style guide.
We first need to define the style guide.

What category should the rule belong to?

  • Enforces code style
  • Warns about a potential error
  • Suggests an alternate way of doing something
  • Other (please specify:)

Provide 2-3 code examples that this rule should warn about:

TODO

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions