From 8395b0f422e75cae5b96003ec4d6be3b8f7eff24 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 14 May 2024 10:17:18 +0200 Subject: [PATCH] chore(lint): use strict checks on import/order rule Signed-off-by: Maksim Sukharev --- .eslintrc.js | 4 ++-- .../Message/MessageButtonsBar/MessageButtonsBar.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6c23b72eee1..7a21ef76913 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 3b90e591a7c..fbc8022b83f 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue @@ -248,6 +248,7 @@