Skip to content
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

I can not find option for space before call parentheses #398

Open
dotnetCarpenter opened this issue Aug 17, 2021 · 0 comments
Open

I can not find option for space before call parentheses #398

dotnetCarpenter opened this issue Aug 17, 2021 · 0 comments

Comments

@dotnetCarpenter
Copy link

  • Operating System (+Version): Windows 10
  • VS Code Version: 1.59.0
  • beautify Version: hookyqr.beautify 1.5.0

Provide the settings you use:

.jsbeautifyrc

{
	"js": {
		"space_after_anon_function": true,
		"keep_function_indentation": true
	}
}

Expected results

Hmm.. well since I can not find the option, the result is not surprising. What is it called and does it even exist?

const read2 = cb => S.ifElse (isGif)
  (parseGif2 (cb))
  (S.ifElse (isPng)
            (parsePng2 (cb))
            (S.K (new Error ('Image format is not recognized or supported'))))

Actual results

const read2 = cb => S.ifElse(isGif)
    (parseGif2(cb))
    (S.ifElse(isPng)
        (parsePng2(cb))
        (S.K(new Error('Image format is not recognized or supported'))))

Adding space before calling parentheses is very common in the Sanctuary ecosystem.

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

No branches or pull requests

1 participant