We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Js Beautify doesn't seem to mind "space_in_empty_paren" set to false when beautifying class methods.
import React, { Component } from 'react'; export default class Test extends Component { render() { return ( <div> <h1>Test</h1> </div> ); } }
import React, { Component } from 'react'; export default class Test extends Component { render( ) { return ( <div> <h1>Test</h1> </div> ); } }
There is a space inside the parens after render.
"space_in_paren": true, "space_in_empty_paren": false,
OS: Ubuntu I'm using Atom with atom-beautify 0.29.17 which uses version ^1.6.3 (according to it's package.json).
Example:
{ "js": { "indent_level": 0, "end_with_newline": true, "indent_with_tabs": false, "preserve_newlines": true, "max_preserve_newlines": 2, "jslint_happy": true, "space_in_paren": true, "space_in_empty_paren": false, "space_after_anon_function": true, "brace_style": "collapse-preserve-inline", "break_chained_methods": false, "keep_array_indentation": false, "unescape_strings": false, "wrap_line_length": 0, "e4x": true, "comma_first": false, "operator_position": "before-newline", "eval_code": false, "space_before_conditional": true } }
The text was updated successfully, but these errors were encountered:
Can not replicate with v1.6.11. Log with atom-beautify, they need to update the included js-beautify version.
Sorry, something went wrong.
Adding some regression tests to confirm beautifier#1151 is fixed
ed690db
Merge pull request #2021 from mhnaeem/regression/tests-for-space-in-p…
2a935a0
…aren-class-methods Adding some regression tests to confirm #1151
No branches or pull requests
Description
Js Beautify doesn't seem to mind "space_in_empty_paren" set to false when beautifying class methods.
Input and expected Output
Actual Output
There is a space inside the parens after render.
Steps to Reproduce
Environment
OS: Ubuntu
I'm using Atom with atom-beautify 0.29.17 which uses version ^1.6.3 (according to it's package.json).
Settings
Example:
The text was updated successfully, but these errors were encountered: