We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b331f46 commit fdcbfc1Copy full SHA for fdcbfc1
1 file changed
packages/cli/src/__tests__/oxlint-plugin.spec.ts
@@ -10,8 +10,6 @@ import {
10
} from '../oxlint-plugin-config.js';
11
import { preferVitePlusImportsRule, rewriteVitePlusImportSpecifier } from '../oxlint-plugin.js';
12
13
-type TestedRule = Parameters<RuleTester['run']>[1];
14
-
15
describe('oxlint plugin config defaults', () => {
16
it('adds vite-plus js plugin and lint rule defaults', () => {
17
expect(
@@ -89,7 +87,7 @@ new RuleTester({
89
87
languageOptions: {
90
88
sourceType: 'module',
91
},
92
-}).run(PREFER_VITE_PLUS_IMPORTS_RULE_NAME, preferVitePlusImportsRule as TestedRule, {
+}).run(PREFER_VITE_PLUS_IMPORTS_RULE_NAME, preferVitePlusImportsRule, {
93
valid: [
94
`import { defineConfig } from 'vite-plus'`,
95
`export { expect } from 'vite-plus/test'`,
0 commit comments