Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upStandard removes my line breaks in jsx, makes it one big line #589
Comments
This comment has been minimized.
This comment has been minimized.
|
For clarity, is this |
This comment has been minimized.
This comment has been minimized.
|
I use atom |
This comment has been minimized.
This comment has been minimized.
|
@kasperpeulen Since this is an issue for standard-format, please open it on that repo. https://github.com/maxogden/standard-format But know that the maintainers of I recommend using |
feross
closed this
Aug 18, 2016
This comment has been minimized.
This comment has been minimized.
|
Ah, okay, do I understand correctly that |
This comment has been minimized.
This comment has been minimized.
|
The first one is integrated directly into If your code is ES5, See http://eslint.org/docs/rules/ and look at the rules with the wrench icon to see which rules |
This comment has been minimized.
This comment has been minimized.
|
Sounds good! Is there a way to get this working in atom as well? |
This comment has been minimized.
This comment has been minimized.
|
You can ask the maintainers of one of these modules: https://atom.io/packages/linter-js-standard |
kasperpeulen commentedAug 17, 2016
I had this code:
Now standard formatter (atom package) turns it into this:
I normally try to make my lines not longer than 80. I think 120 is also fine. But this is 150 chars or something on one line. Way too long.