Skip to content

Commit

Permalink
chore(vue): migrate deprecated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotk committed Jul 16, 2024
1 parent 0868121 commit da9536f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,9 @@ export default function vue() {
'vue/multi-word-component-names': 'off',
'vue/no-v-html': 'off',

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

'vue/block-lang': ['error', { script: { lang: 'ts' } }],
'vue/component-api-style': [
Expand Down Expand Up @@ -161,7 +158,7 @@ export default function vue() {
'vue/no-duplicate-attr-inheritance': 'warn',
'vue/no-empty-component-block': 'error',
'vue/no-multiple-objects-in-class': 'error',
'vue/no-ref-object-destructure': 'warn',
'vue/no-ref-object-reactivity-loss': 'warn',
'vue/no-required-prop-with-default': 'error',
'vue/no-restricted-call-after-await': 'error',
'vue/no-root-v-if': 'error',
Expand Down

0 comments on commit da9536f

Please sign in to comment.