This commit is contained in:
Alex
2024-03-04 03:37:23 -05:00
parent 9ea078f414
commit 4c67de9f72
9 changed files with 526 additions and 490 deletions

View File

@ -27,36 +27,6 @@ index 6497d22..4cc5f27 100644
},
rules,
}
diff --git a/lib/unsupported-features/node-builtins-modules/events.js b/lib/unsupported-features/node-builtins-modules/events.js
index c314e8b..0a876f7 100644
--- a/lib/unsupported-features/node-builtins-modules/events.js
+++ b/lib/unsupported-features/node-builtins-modules/events.js
@@ -1,7 +1,7 @@
const { READ } = require("@eslint-community/eslint-utils")
/** @type {import('../types.js').SupportVersionTree} */
-const static = {
+const _static = {
defaultMaxListeners: { [READ]: { supported: ["0.11.2"] } },
errorMonitor: { [READ]: { supported: ["13.6.0", "12.17.0"] } },
captureRejections: {
@@ -43,13 +43,13 @@ const events = {
},
EventEmitter: {
[READ]: { supported: ["0.1.26"] },
- ...static,
+ ..._static,
},
EventEmitterAsyncResource: {
[READ]: { supported: ["17.4.0", "16.14.0"] },
- ...static,
+ ..._static,
},
- ...static,
+ ..._static,
}
/** @type {import('../types.js').SupportVersionTree} */
diff --git a/tests/fixtures/no-extraneous/dependencies/node_modules/@bbb/aaa.js b/tests/fixtures/no-extraneous/dependencies/node_modules/@bbb/aaa.js
deleted file mode 100644
index e69de29..0000000