diff --git a/.editorconfig b/.editorconfig index 9bc03af..9528f12 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,7 @@ -[*.*] +root = true +[*] tab_width = 2 -indent_size = 1 +indent_size = 2 indent_style = tab charset = utf-8 max_line_length = 160 \ No newline at end of file diff --git a/components/layouts/footer.vue b/components/layouts/footer.vue index 88d4590..83be34e 100644 --- a/components/layouts/footer.vue +++ b/components/layouts/footer.vue @@ -2,25 +2,17 @@ diff --git a/components/profile/adminPanel.vue b/components/profile/adminPanel.vue index d6aca42..fe9345b 100644 --- a/components/profile/adminPanel.vue +++ b/components/profile/adminPanel.vue @@ -30,11 +30,7 @@ promote: !short, }, }); - messageApi.success( - `User ${props.user?.username} is now ${ - short ? "an admin" : "a regular user" - }.`, - ); + messageApi.success(`User ${props.user?.username} is now ${short ? "an admin" : "a regular user"}.`); setTimeout(() => { showDemote.value = false; }, 1000); @@ -44,26 +40,15 @@