Skip to content

Commit e31d868

Browse files
authoredFeb 27, 2024··
fix(no-unsupported-features): Remove use of static as a variable (#190)
Thank you @alex-kinokon for spotting this!
1 parent 7d44c5a commit e31d868

File tree

1 file changed

+4
-4
lines changed
  • lib/unsupported-features/node-builtins-modules

1 file changed

+4
-4
lines changed
 

‎lib/unsupported-features/node-builtins-modules/events.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { READ } = require("@eslint-community/eslint-utils")
22

33
/** @type {import('../types.js').SupportVersionTree} */
4-
const static = {
4+
const EventEmitterStatic = {
55
defaultMaxListeners: { [READ]: { supported: ["0.11.2"] } },
66
errorMonitor: { [READ]: { supported: ["13.6.0", "12.17.0"] } },
77
captureRejections: {
@@ -43,13 +43,13 @@ const events = {
4343
},
4444
EventEmitter: {
4545
[READ]: { supported: ["0.1.26"] },
46-
...static,
46+
...EventEmitterStatic,
4747
},
4848
EventEmitterAsyncResource: {
4949
[READ]: { supported: ["17.4.0", "16.14.0"] },
50-
...static,
50+
...EventEmitterStatic,
5151
},
52-
...static,
52+
...EventEmitterStatic,
5353
}
5454

5555
/** @type {import('../types.js').SupportVersionTree} */

0 commit comments

Comments
 (0)
Please sign in to comment.