Skip to content

Commit 14f86a3

Browse files
committed
chore: update ESLint config to ignore coverage directory and fix type in test
1 parent a5f3402 commit 14f86a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfigWithVueTs(
1717
name: "app/files-to-lint",
1818
files: ["**/*.{ts,mts,tsx,vue}"],
1919
},
20-
{ ignores: ["**/dist/**"] },
20+
{ ignores: ["**/dist/**", "**/coverage/**"] },
2121
pluginVue.configs["flat/essential"],
2222
vueTsConfigs.recommended,
2323
skipFormatting,

tests/echarts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ describe("ECharts component", () => {
854854
const exposed = shallowRef<any>();
855855

856856
renderChart(
857-
() => ({ option: option.value, onClick: undefined as unknown as () => {} }),
857+
() => ({ option: option.value, onClick: undefined as any }),
858858
exposed,
859859
);
860860
await nextTick();

0 commit comments

Comments
 (0)