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

Tighten stylint config. #2406

Merged
merged 2 commits into from
Aug 18, 2019
Merged

Tighten stylint config. #2406

merged 2 commits into from
Aug 18, 2019

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented Aug 15, 2019

WIP, I'll try to find the config that matches the current style best so that we don't need to make many changes in the source files.

Fixes #2404

@XhmikosR XhmikosR marked this pull request as ready for review August 15, 2019 10:22
@XhmikosR
Copy link
Contributor Author

This is ready. First #2394 should be merged and I'll rebase this.

}
},
"leadingZero": {
"expect": "always",
Copy link
Contributor Author

@XhmikosR XhmikosR Aug 15, 2019

Choose a reason for hiding this comment

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

Personally I'd use never here, but most cases were using a leading 0 so I went with always.

@XhmikosR
Copy link
Contributor Author

Please note that #2394 should be merged first.

@Wai-Dung Wai-Dung merged commit 80d54b4 into nodejs:master Aug 18, 2019
@XhmikosR XhmikosR deleted the master-xmr-stylint branch August 18, 2019 06:33
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.

Tighten stylint config
4 participants