diff --git a/kicc-ui/.eslintrc.js b/kicc-ui/.eslintrc.js index ff0688b5..95d379a8 100644 --- a/kicc-ui/.eslintrc.js +++ b/kicc-ui/.eslintrc.js @@ -97,5 +97,25 @@ module.exports = defineConfig({ 'endTag': 'never', 'selfClosingTag': 'never' }], + 'vue/this-in-template': ['error', 'never'], + 'vue/component-tags-order': ['error', { + 'order': [ [ 'script', 'template' ], 'style' ] + }], + '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 + }], } }); diff --git a/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue b/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue index 0563be35..e1f49de8 100644 --- a/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue +++ b/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue @@ -1,8 +1,8 @@