Skip to content

Commit

Permalink
fix: replace rule-tester
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jan 4, 2024
1 parent 5f2326b commit 6f2b3bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/lib/rules/no-extraneous-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"use strict"

const path = require("path")
const { Linter, RuleTester } = require("eslint")
const { Linter } = require("eslint")
const { RuleTester } = require("#eslint-rule-tester")
const rule = require("../../../lib/rules/no-extraneous-import")

const DynamicImportSupported = (() => {
Expand Down
3 changes: 2 additions & 1 deletion tests/lib/rules/no-missing-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"use strict"

const path = require("path")
const { Linter, RuleTester } = require("eslint")
const { Linter } = require("eslint")
const { RuleTester } = require("#eslint-rule-tester")
const rule = require("../../../lib/rules/no-missing-import")

const DynamicImportSupported = (() => {
Expand Down
3 changes: 2 additions & 1 deletion tests/lib/rules/no-restricted-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"use strict"

const path = require("path")
const { Linter, RuleTester } = require("eslint")
const { Linter } = require("eslint")
const { RuleTester } = require("#eslint-rule-tester")
const rule = require("../../../lib/rules/no-restricted-import")

const DynamicImportSupported = (() => {
Expand Down

0 comments on commit 6f2b3bd

Please sign in to comment.