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

chore: enable n/prefer-node-protocol eslint rule #2008

Closed
wants to merge 1 commit into from

Conversation

techvlad
Copy link

@techvlad techvlad commented Jul 15, 2024

Enables rule and enforces style for future contributions https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-node-protocol.md

Initial work was done here

Example how it works in VSCode:
image

Possible improvements:

Comment on lines +61 to +63
"engines": {
"node": "^18 || >=20"
},
Copy link
Author

Choose a reason for hiding this comment

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

From my understanding pino supports only next node versions: ^18 || >=20
Required by eslint-plugin-n package

@techvlad techvlad marked this pull request as ready for review July 15, 2024 14:38
@jsumners
Copy link
Member

I expect that this project will switch to using https://www.npmjs.com/package/neostandard

@mcollina
Copy link
Member

Yes, exactly

@techvlad
Copy link
Author

ok, got it, thank you!

@techvlad techvlad closed this Jul 16, 2024
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

Successfully merging this pull request may close these issues.

3 participants