Browse Source
chore(lint): use strict checks on import/order rule
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
pull/12350/head
Maksim Sukharev
1 year ago
No known key found for this signature in database
GPG Key ID: 6349D071889BD1D5
2 changed files with
3 additions and
3 deletions
-
.eslintrc.js
-
src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue
|
|
@ -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: [ |
|
|
|
|
|
@ -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' |
|
|
|