Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Allow brace-less if when the whole statement is on one line #426

Closed
chee opened this issue Jun 6, 2014 · 2 comments
Closed

Allow brace-less if when the whole statement is on one line #426

chee opened this issue Jun 6, 2014 · 2 comments

Comments

@chee
Copy link

chee commented Jun 6, 2014

I would like to specify that:

if (whatevs)
  doOrDie();

is unacceptable but not lose the handsome:

if (!necessity) return;

like this request from one big dreamer: jshint/jshint#474
except in jscs because it's stylish

@markelog
Copy link
Member

markelog commented Jun 7, 2014

Sounds like a duplicate of #244

@chee
Copy link
Author

chee commented Jun 8, 2014

sure is

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants