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

tools: apply linting to custom rules code #3195

Closed
wants to merge 2 commits into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Oct 5, 2015

Node.js project-specific estlint rules should maintain the style of the rest of the project JS code base.

Ref: #3157

@Trott Trott added the tools Issues and PRs related to the tools directory. label Oct 5, 2015
@Trott
Copy link
Member Author

Trott commented Oct 5, 2015

@@ -505,7 +505,7 @@ bench-idle:
$(NODE) benchmark/idle_clients.js &

jslint:
$(NODE) tools/eslint/bin/eslint.js src lib test --rulesdir tools/eslint-rules --reset --quiet
$(NODE) tools/eslint/bin/eslint.js src lib test tools/eslint-rules --rulesdir tools/eslint-rules --reset --quiet
Copy link
Member

Choose a reason for hiding this comment

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

Maybe put a break before --rulesdir.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, line break added!

@bnoordhuis
Copy link
Member

LGTM

@Trott
Copy link
Member Author

Trott commented Oct 6, 2015

New CI with line break added: https://ci.nodejs.org/job/node-test-pull-request/425/

@thefourtheye
Copy link
Contributor

LGTM

@bnoordhuis
Copy link
Member

Still LGTM BTW.

@silverwind
Copy link
Contributor

Whoops, my bad on that style in that rule file. LGTM

@Trott
Copy link
Member Author

Trott commented Oct 6, 2015

Landed in dbce29a

@Trott Trott closed this Oct 6, 2015
Trott added a commit that referenced this pull request Oct 6, 2015
Apply our eslint rules to the code for our custom eslint rules.

Eslint Inception! Maybe. I never saw that movie...

PR-URL: #3195
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
@jasnell jasnell mentioned this pull request Oct 8, 2015
29 tasks
Trott added a commit that referenced this pull request Oct 8, 2015
Apply our eslint rules to the code for our custom eslint rules.

Eslint Inception! Maybe. I never saw that movie...

PR-URL: #3195
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott Trott deleted the eslint-rules branch January 13, 2022 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants