diff options
author | Maksim Sukharev <antreesy.web@gmail.com> | 2024-05-14 10:17:18 +0200 |
---|---|---|
committer | Maksim Sukharev <antreesy.web@gmail.com> | 2024-05-14 10:17:18 +0200 |
commit | 8395b0f422e75cae5b96003ec4d6be3b8f7eff24 (patch) | |
tree | d821fb91ddbc42c33c62b923ae373966d96f59bd | |
parent | 69f5f34af80218298e111fc2d3c8f043f707ab71 (diff) |
chore(lint): use strict checks on import/order rule
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
-rw-r--r-- | .eslintrc.js | 4 | ||||
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 6c23b72ee..7a21ef769 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,10 +21,10 @@ module.exports = { // Forbid import without extension even when TS is used // TODO: fix in @nextcloud/eslint-config/typescript 'import/extensions': 'error', - 'import/newline-after-import': 'warn', + 'import/newline-after-import': 'error', 'import/no-named-as-default-member': 'off', 'import/order': [ - 'warn', + 'error', { groups: ['builtin', 'external', 'internal', ['parent', 'sibling', 'index'], 'unknown'], pathGroups: [ diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue index 3b90e591a..fbc8022b8 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue @@ -248,6 +248,7 @@ </template> <script> +import { vOnClickOutside as ClickOutside } from '@vueuse/components' import { toRefs } from 'vue' import AccountIcon from 'vue-material-design-icons/Account.vue' @@ -275,7 +276,6 @@ import Translate from 'vue-material-design-icons/Translate.vue' import { getCapabilities } from '@nextcloud/capabilities' import { showError, showSuccess } from '@nextcloud/dialogs' import moment from '@nextcloud/moment' -import { vOnClickOutside as ClickOutside } from '@vueuse/components' import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js' |