We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0708f9b commit e0d60bcCopy full SHA for e0d60bc
1 file changed
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