diff --git a/.eslintrc.js b/.eslintrc.js index 973909b..c23e448 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,6 +25,27 @@ module.exports = { plugins: ['vue', '@typescript-eslint', 'prettier'], rules: { 'no-undef': 'off', + 'vue/attributes-order': [ + 'error', + { + order: [ + 'DEFINITION', + 'LIST_RENDERING', + 'CONDITIONALS', + 'RENDER_MODIFIERS', + 'GLOBAL', + ['UNIQUE', 'SLOT'], + 'TWO_WAY_BINDING', + 'OTHER_DIRECTIVES', + 'OTHER_ATTR', + 'EVENTS', + 'CONTENT' + ], + alphabetical: false + } + ], + 'vue/no-watch-after-await': 'error', + 'vue/attribute-hyphenation': ['error', 'always'], 'vue/multi-word-component-names': 'off', '@typescript-eslint/ban-ts-ignore': 'off', '@typescript-eslint/no-unused-vars': 'warn',