Skip to content

Conversation

@scagood
Copy link

@scagood scagood commented Sep 17, 2024

closes #337

@scagood scagood requested a review from aladdin-add September 17, 2024 15:05
@scagood scagood added bug rule:update An update to a current rule labels Sep 17, 2024
const mergeVisitorsInPlace = require("../util/merge-visitors-in-place")
const {
NodeBuiltinModules,
} = require("../unsupported-features/node-builtins.js")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits: we could move node-builtins.js to outer - it's now not just used by those rules. :)

Copy link
Author

@scagood scagood Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you think we should put the directory?

I was also thinking about going through and merging the no-deprecated-api into the unsupported-features so its all in one place as a consistent data set 🤔

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you think we should put the directory?

maybe /lib/dataset/?

I was also thinking about going through and merging the no-deprecated-api into the unsupported-features

It would be nice if these rules could share data, so we don't have to worry about updating one and forgetting the other.

@aladdin-add aladdin-add merged commit 6a1b2c5 into eslint-community:master Sep 18, 2024
23 checks passed
@scagood scagood deleted the issue-337 branch September 18, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug rule:update An update to a current rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: prefer-node-protocol rule and deprecated builtins

2 participants