Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rules for using node:console import instead of global one, and enforce doing it in just a single file, passing the console instance as agument #7

Open
piranna opened this issue Dec 24, 2023 · 2 comments

Comments

@piranna
Copy link
Member

piranna commented Dec 24, 2023

No description provided.

@piranna
Copy link
Member Author

piranna commented Dec 24, 2023

@piranna
Copy link
Member Author

piranna commented Dec 24, 2023

Rules aren’t meant to work across multiple files, so probably we would need to write a rule that traverse all files each time, or flag the first appearance in a file and check if its content is not empty when checking other files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant