Skip to content

Commit 1104858

Browse files
committed
Last try for today
1 parent 9828272 commit 1104858

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

.codacy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ engines:
1010
- '*.d.ts'
1111
- 'env.d.ts'
1212
- 'docs/.vitepress/**'
13+
configuration:
14+
rules:
15+
"@typescript-eslint/no-unused-vars": "off"
1316

1417
# TypeScript linting
1518
typescript:

src/Types.ts

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

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

148149
/** Reset tour state and optionally restart */
149-
resetTour: (_shouldRestart?: boolean) => void;
150+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
151+
resetTour: (shouldRestart?: boolean) => void;
150152

151153
/** Update tooltip position */
152154
updatePosition: () => Promise<void>;

vite.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ export default defineConfig({
3838
target: 'es2020',
3939
},
4040
plugins: [
41-
vue({
42-
script: {
43-
defineModel: true,
44-
},
45-
}),
41+
vue(),
4642
dtsPlugin(dtsOptions),
4743
],
4844
server: {

0 commit comments

Comments
 (0)