Skip to content

Commit 657e628

Browse files
committed
test: update snap tests to match new oxlint-plugin config
1 parent d9b589d commit 657e628

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • packages/cli/snap-tests-global/new-create-vite-migrates-eslint-prettier

packages/cli/snap-tests-global/new-create-vite-migrates-eslint-prettier/snap.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@ export default defineConfig({
125125
typeAware: true,
126126
typeCheck: true,
127127
},
128+
jsPlugins: [
129+
{
130+
name: "vite-plus",
131+
specifier: "vite-plus/oxlint-plugin",
132+
},
133+
],
134+
rules: {
135+
"vite-plus/prefer-vite-plus-imports": "error",
136+
},
128137
},
129138
plugins: [react()],
130139
});

0 commit comments

Comments
 (0)