[go: nahoru, domu]

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

Update prettier to enforce parens in arrow functions #474

Merged
merged 2 commits into from
Jun 18, 2019

Conversation

thechenky
Copy link
Contributor

Description

I noticed prettier and tslint were doing opposite things - tslint was enforcing wrapping args in parens in arrow functions while then prettier would go and undo those changes. This PR modifies prettier to always wrap args in parens for arrow functions.

@thechenky thechenky changed the title Make prettier to enforce parens in arrow functions Update prettier to enforce parens in arrow functions Jun 17, 2019
@thechenky thechenky merged commit 775fd35 into master Jun 18, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants