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
What does "good-stuff" do? #658
Comments
You're right, it should be better documented. It currently sets two behaviors that make jslint happy: case un-indenting and They are shown here: |
I suggest nuking this option and using two separate parameters to control each behaviour. Trying to lump both under one seriously ambiguous option named A setting named |
Nuking the option is also a viable choice. That would be a breaking change, which would need to wait to the next version. |
+1 on adding |
Apparently it does more then this. // test.js file
const a = [
"foo",
"bar"
]; ~$ js-beautify test.js
const a = [
"foo",
"bar"
]; ~$ js-beautify --good-stuff test.js
const a = [
"foo",
"bar"
];~$ |
@finalclass |
There should be clearer documentation about "good-stuff" option.
What does it do? At least approximately.
The text was updated successfully, but these errors were encountered: