Skip to content

Commit

Permalink
chore(lint): use strict checks on import/order rule
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed May 14, 2024
1 parent 69f5f34 commit 8395b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 8395b0f

Please sign in to comment.