Skip to content

Commit fff3186

Browse files
aduh95danielleadams
authored andcommitted
tools: fix linter message when using global DOMException
Refs: https://github.com/nodejs/node/blob/757c10414776b6f035ced453599527a841f47d6e/lib/internal/util.js#L601-L610 PR-URL: #46822 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 654b747 commit fff3186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/.eslintrc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ rules:
6161
- name: DecompressionStream
6262
message: Use `const { DecompressionStream } = require('internal/webstreams/compression')` instead of the global.
6363
- name: DOMException
64-
message: Use lazy function `const { lazyDOMException } = require('internal/util');` instead of the global.
64+
message: Use lazy function `const { lazyDOMExceptionClass } = require('internal/util');` instead of the global.
6565
- name: Event
6666
message: Use `const { Event } = require('internal/event_target');` instead of the global.
6767
- name: EventTarget

0 commit comments

Comments
 (0)