Closed
Description
What rule do you want to change?
vue/order-in-components
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.)?
Add slots
to default order. Currently, the default order is:
eslint-plugin-vue/lib/rules/order-in-components.js
Lines 14 to 76 in e936a15
I'd propose to add the slots
option after emits
, in the Interface
category. This is probably a breaking change, but we could argue that the slots
option (which was introduced in Vue 3.3) is not in use for long, so intentionally breaking might be okay.
@ota-meshi what do you think?