Skip to content

Commit

Permalink
Un-suppress reverted "The 'URL.canParse' is still an experimental fea…
Browse files Browse the repository at this point in the history
…ture" warning from n/no-unsupported-features/node-builtins.
  • Loading branch information
DavidAnson committed Apr 16, 2024
1 parent 0d9d366 commit 11dcfdf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion markdownlint-cli2.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ const importOrRequireResolve = async (dirOrDirs, id, noRequire) => {
errors.push(error);
}
try {
// 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 11dcfdf

Please sign in to comment.