Skip to content

Commit

Permalink
Remove outdated ESLint suppression for n/no-unsupported-features/es-b…
Browse files Browse the repository at this point in the history
…uiltins.
  • Loading branch information
DavidAnson committed May 9, 2024
1 parent e911455 commit 3e81c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdownlint-cli2.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const importOrRequireResolve = async (dirOrDirs, id, noRequire) => {
errors.push(error);
}
try {
// eslint-disable-next-line n/no-unsupported-features/es-builtins, n/no-unsupported-features/node-builtins
// eslint-disable-next-line n/no-unsupported-features/node-builtins
const isURL = !pathDefault.isAbsolute(expandId) && URL.canParse(expandId);
const urlString = (
isURL ? new URL(expandId) : pathToFileURL(pathDefault.resolve(dirs[0], expandId))
Expand Down

0 comments on commit 3e81c83

Please sign in to comment.