Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f558797

Browse filesBrowse 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
Copy full SHA for f558797

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: lib/.eslintrc.yaml
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.