Skip to content

Commit ac60818

Browse files
committed
Codacy fixes?
1 parent 1104858 commit ac60818

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
// Allow any type assertions in config files
3939
'@typescript-eslint/no-explicit-any': 'off',
4040
'@typescript-eslint/ban-ts-comment': 'off',
41+
'@typescript-eslint/no-unsafe-call': 'off',
4142
},
4243
},
4344
],

src/Types.ts renamed to src/Types.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,9 @@ export interface VTourExposedMethods {
143143
stopTour: () => void;
144144

145145
/** Navigate to a specific step by index */
146-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
147146
goToStep: (stepIndex: number) => Promise<void>;
148147

149148
/** Reset tour state and optionally restart */
150-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
151149
resetTour: (shouldRestart?: boolean) => void;
152150

153151
/** Update tooltip position */

src/components/VTour.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type {
77
VTourEmits,
88
VTourData,
99
VTourExposedMethods,
10-
} from '../Types.ts';
10+
} from '../Types';
1111
1212
// Props with defaults
1313
const props = withDefaults(defineProps<VTourProps>(), {

src/vuejs-tour.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export type {
1010
VTourExposedMethods,
1111
ButtonLabels,
1212
SaveToLocalStorage,
13-
} from './Types.js';
13+
} from './Types';

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { resolve } from 'path';
22
import { defineConfig } from 'vite';
3-
import dtsPlugin, {
3+
import dts, {
44
type PluginOptions as DtsPluginOptions,
55
} from 'vite-plugin-dts';
66
import vue from '@vitejs/plugin-vue';
@@ -39,7 +39,7 @@ export default defineConfig({
3939
},
4040
plugins: [
4141
vue(),
42-
dtsPlugin(dtsOptions),
42+
dts(dtsOptions),
4343
],
4444
server: {
4545
open: true,

0 commit comments

Comments
 (0)