Skip to content

Commit

Permalink
fix(lint): supress import/default in some imports till import plugin …
Browse files Browse the repository at this point in the history
…adds eslint flat config support

- import-js/eslint-plugin-import#2873

Signed-off-by: Deep Panchal <deep302001@gmail.com>
  • Loading branch information
deepanchal committed Jun 6, 2024
1 parent a583d4a commit 51d8d54
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</template>

<script lang="ts">
// eslint-disable-next-line import/default

Check warning on line 14 in src/components/Editor.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor.vue#L14

Added line #L14 was not covered by tests
import Quill from 'quill';
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
Expand All @@ -20,6 +21,7 @@ import { useI18n } from 'vue-i18n';
import { useToast } from 'vue-toastification';
import axios from 'axios';
import { getErrorMessage } from '../utils/errors';
// eslint-disable-next-line import/default

Check warning on line 24 in src/components/Editor.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor.vue#L24

Added line #L24 was not covered by tests
import ImageResize from 'quill-image-resize-vue';
Quill.register('modules/imageResize', ImageResize);
Expand Down
1 change: 1 addition & 0 deletions src/components/RecurringSchedule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ import { isEqual } from 'lodash';
import { useI18n } from 'vue-i18n';
import { ref, defineComponent, onMounted } from 'vue';
import moment from 'moment';
// eslint-disable-next-line import/default
import LitepieDatepicker from 'litepie-datepicker';
export default defineComponent({
Expand Down
1 change: 1 addition & 0 deletions src/hooks/worksite/useRenderedMarkers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Sprite, Texture } from 'pixi.js';
// eslint-disable-next-line import/default

Check warning on line 2 in src/hooks/worksite/useRenderedMarkers.ts

View check run for this annotation

Codecov / codecov/patch

src/hooks/worksite/useRenderedMarkers.ts#L2

Added line #L2 was not covered by tests
import KDBush from 'kdbush';
import * as turf from '@turf/turf';
import type * as L from 'leaflet';
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import axios from 'axios';
import { library } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import VueTagsInput from '@sipec/vue3-tags-input';
// eslint-disable-next-line import/default

Check warning on line 8 in src/main.ts

View check run for this annotation

Codecov / codecov/patch

src/main.ts#L8

Added line #L8 was not covered by tests
import Datepicker from '@vuepic/vue-datepicker';
import * as Sentry from '@sentry/vue';
import { fas } from '@fortawesome/free-solid-svg-icons';
Expand All @@ -13,6 +14,7 @@ import Toast, {
type PluginOptions as VueToastificationPluginOptions,
} from 'vue-toastification';
import { i18n } from '@/modules/i18n';
// eslint-disable-next-line import/default

Check warning on line 17 in src/main.ts

View check run for this annotation

Codecov / codecov/patch

src/main.ts#L17

Added line #L17 was not covered by tests
import vSelect from 'vue-select';
import App from './App.vue';
import MaintenanceApp from './maintenance/App.vue';
Expand Down

0 comments on commit 51d8d54

Please sign in to comment.