Skip to content

Commit

Permalink
feat(vue): Make vue/component-tags-order autofixable
Browse files Browse the repository at this point in the history
  • Loading branch information
MorevM committed Apr 9, 2022
1 parent e624814 commit 9d63619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configurations/vue/rules/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ module.exports = {
alphabetical: false,
}],

// Enforce order of component top-level elements
// Enforce order of component top-level elements (autofixable)
// https://eslint.vuejs.org/rules/component-tags-order.html
'vue/component-tags-order': ['error', {
'+vue/component-tags-order': ['warn', {
order: ['template', 'script', 'style', 'i18n'],
}],

Expand Down

0 comments on commit 9d63619

Please sign in to comment.