Skip to content

Commit

Permalink
fix: disable ts/explicit-function-return-type in vue files
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 16, 2024
1 parent 60ffdbe commit 1788d23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/configs/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ export async function vue(
},

'node/prefer-global/process': 'off',
'ts/explicit-function-return-type': 'off',

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

'vue/component-name-in-template-casing': ['error', 'PascalCase'],
'vue/component-options-name-casing': ['error', 'PascalCase'],
// this is deprecated
Expand Down

0 comments on commit 1788d23

Please sign in to comment.