We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d271435 commit 75b86eeCopy full SHA for 75b86ee
packages/cli/src/oxlint-plugin.ts
@@ -126,7 +126,7 @@ export const preferVitePlusImportsRule: OxlintRule = {
126
preferVitePlusImports: "Use '{{to}}' instead of '{{from}}' in Vite+ projects.",
127
},
128
129
- create(context: ReportContext) {
+ createOnce(context: ReportContext) {
130
return {
131
ImportDeclaration(node: VisitorNode<'ImportDeclaration'>) {
132
maybeReportLiteral(context, node.source);
0 commit comments