diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ebc633c..4804b5b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -25,7 +25,12 @@ "pmneo.tsimporter" ], "settings": { - "terminal.integrated.shell.linux": "/bin/sh" + "terminal.integrated.shell.linux": "/bin/sh", + "html.format.wrapAttributes": "force-expand-multiline", + "[vue]": { + "editor.defaultFormatter": "Vue.volar", + "editor.tabSize": 4 + } } } }, diff --git a/eslint.config.js b/eslint.config.js index 59da496..abd7f73 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,7 +30,7 @@ export default typescriptEslint.config( extends: [ eslint.configs.recommended, ...typescriptEslint.configs.recommended, - ...eslintPluginVue.configs['flat/recommended'], + ...eslintPluginVue.configs['flat/strongly-recommended'], ], languageOptions: { ecmaVersion: 'latest', @@ -45,8 +45,16 @@ export default typescriptEslint.config( rules: { 'vue/require-default-prop': 'off', 'vue/attribute-hyphenation': 'off', + 'vue/v-on-event-hyphenation': 'off', 'vue/multi-word-component-names': 'off', 'vue/block-lang': 'off', + 'vue/first-attribute-linebreak': [ + 'error', + { + singleline: 'ignore', + multiline: 'ignore', + }, + ], '@typescript-eslint/no-explicit-any': 'off', }, }, diff --git a/src/components/InputErrors.vue b/src/components/InputErrors.vue index 0d954e0..245bb95 100644 --- a/src/components/InputErrors.vue +++ b/src/components/InputErrors.vue @@ -7,7 +7,10 @@ defineProps({