Skip to content

Commit 791d632

Browse files
committed
test(linter/plugins): use subpath imports in tests (#16075)
#15920 altered `import`s in tests to use `'#eslint'` subpath. Make recently-added tests follow the same pattern.
1 parent 56bce91 commit 791d632

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/oxlint/test/fixtures/sourceCode_token_methods/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Plugin, Rule } from '../../../dist/index.js';
1+
import type { Plugin, Rule } from '#oxlint';
22

33
const rule: Rule = {
44
create(context) {

apps/oxlint/test/fixtures/tokens/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Plugin, Rule } from '../../../dist/index.js';
1+
import type { Plugin, Rule } from '#oxlint';
22

33
const rule: Rule = {
44
create(context) {

0 commit comments

Comments
 (0)