Skip to content

Commit

Permalink
feat(vue): enable v9.19 introduced rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Nov 30, 2023
1 parent d3b9f04 commit f5e663b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ module.exports = {
'vue/prefer-define-options': 'error',
'vue/valid-define-options': 'error',

// TypeScript enhance
'vue/define-emits-declaration': ['error', 'type-literal'],

// extensions
'vue/v-if-else-key': 'error',
'vue/no-unused-emit-declarations': 'error',
'vue/this-in-template': ['error', 'never'],
'vue/array-bracket-spacing': ['error', 'never'],
'vue/arrow-spacing': ['error', { before: true, after: true }],
Expand Down

0 comments on commit f5e663b

Please sign in to comment.