Skip to content

Commit

Permalink
feat: vue sfc tags order
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 29, 2022
1 parent 782ab7a commit d4538f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vue/index.js
Expand Up @@ -26,5 +26,9 @@ module.exports = {

// reactivity transform
'vue/no-setup-props-destructure': 'off',

'vue/component-tags-order': ['error', {
order: ['script', 'template', 'style'],
}],
},
}

0 comments on commit d4538f4

Please sign in to comment.