Skip to content

JavaScript guidelines: Space after if #580

Answered by ddbeck
erosman asked this question in Content
Discussion options

You must be logged in to vote

There's a couple threads here that have called out for my attention so I'll lay out my position here (cc: @hamishwillee and @wbamberg, specifically):

  • We should work toward adopting Prettier to format code automatically and comprehensively. The first step toward that would be to adopt a Prettier config and check it in the repository. The process would culminate with full automated enforcement with CI.
  • Until that process is complete, we should cut down the JavaScript style guidelines to replace anything that Prettier could format with text saying, more or less, do whatever Prettier would do or configure your editor to do this.
  • In the mean time, we should reject any PRs that make style-only…

Replies: 0 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@wbamberg
Comment options

@hamishwillee
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hamishwillee
Comment options

@hamishwillee
Comment options

Comment options

You must be logged in to vote
3 replies
@wbamberg
Comment options

@ddbeck
Comment options

@ddbeck
Comment options

Answer selected by ddbeck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants