-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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: enabled eslint-plugin-n #5280
chore: enabled eslint-plugin-n #5280
Conversation
@@ -1,5 +1,3 @@ | |||
#!/usr/bin/env node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
n/hashbang
: this hashbang comment is unnecessary.
@@ -1,5 +1,3 @@ | |||
#!/usr/bin/env node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
n/hashbang
: this hashbang comment is unnecessary.
@@ -1,12 +1,11 @@ | |||
#!/usr/bin/env node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
n/hashbang
: this hashbang comment is unnecessary.
PR Checklist
status: accepting prs
Overview
Adds
eslint-plugin-n
'srecommended-script
flat config. Amazingly, there were almost no reports from the core rules there. The only changes are commented inline.Also enables
n/prefer-node-protocol
for the reasons mentioned in the doc. All reports were fixed withnpm run lint:code -- --fix
.