Skip to content

Commit c3c412a

Browse files
committed
eslint
1 parent 82f0bec commit c3c412a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

eslint.config.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default typescriptEslint.config(
3030
extends: [
3131
eslint.configs.recommended,
3232
...typescriptEslint.configs.recommended,
33-
...eslintPluginVue.configs['flat/recommended'],
33+
...eslintPluginVue.configs['flat/strongly-recommended'],
3434
],
3535
languageOptions: {
3636
ecmaVersion: 'latest',
@@ -45,8 +45,16 @@ export default typescriptEslint.config(
4545
rules: {
4646
'vue/require-default-prop': 'off',
4747
'vue/attribute-hyphenation': 'off',
48+
'vue/v-on-event-hyphenation': 'off',
4849
'vue/multi-word-component-names': 'off',
4950
'vue/block-lang': 'off',
51+
'vue/first-attribute-linebreak': [
52+
'error',
53+
{
54+
singleline: 'ignore',
55+
multiline: 'ignore',
56+
},
57+
],
5058
'@typescript-eslint/no-explicit-any': 'off',
5159
},
5260
},

0 commit comments

Comments
 (0)