Skip to content

Commit 6e8094a

Browse files
authored
chore: enable reportUnusedDisableDirectives (#8384)
1 parent faacb51 commit 6e8094a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,6 @@ module.exports = defineConfig({
159159
'no-restricted-globals': ['error', 'require', '__dirname', '__filename']
160160
}
161161
}
162-
]
162+
],
163+
reportUnusedDisableDirectives: true
163164
})

packages/plugin-vue/src/template.ts

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export async function transformTemplateAsModule(
4242
/**
4343
* transform the template directly in the main SFC module
4444
*/
45-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
4645
export function transformTemplateInMain(
4746
code: string,
4847
descriptor: SFCDescriptor,

0 commit comments

Comments
 (0)