Skip to content

Commit f558797

Browse files
aduh95targos
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 <jasnell@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 4ad48d9 commit f558797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/.eslintrc.yaml

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy