Skip to content

Commit a56b827

Browse files
committed
squash: add WebAssemblyLinkError to linter's known errors
1 parent 204c3c6 commit a56b827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/eslint.config_partial.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const noRestrictedSyntax = [
2323
message: "`btoa` supports only latin-1 charset, use Buffer.from(str).toString('base64') instead",
2424
},
2525
{
26-
selector: 'NewExpression[callee.name=/Error$/]:not([callee.name=/^(AssertionError|NghttpError|AbortError|NodeAggregateError|QuotaExceededError)$/])',
26+
selector: 'NewExpression[callee.name=/Error$/]:not([callee.name=/^(AssertionError|NghttpError|AbortError|NodeAggregateError|QuotaExceededError|WebAssemblyLinkError)$/])',
2727
message: "Use an error exported by 'internal/errors' instead.",
2828
},
2929
{

0 commit comments

Comments
 (0)