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

Disable Prettier if no prettier config exists #3994

Merged
merged 2 commits into from
Aug 18, 2020

Conversation

muhammadsammy
Copy link
Contributor

A lot of users of prettier extension use it to format files automatically on save leading to unwanted diffs, so I've added an option to disable prettier unless there is a prettier config file.

A lot of users of [prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) use it to format files automatically on save leading to unwanted diffs, so I've added an option to disable prettier unless there is a prettier config file.
@codecov
Copy link

codecov bot commented Aug 17, 2020

Codecov Report

Merging #3994 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3994   +/-   ##
=======================================
  Coverage   85.96%   85.96%           
=======================================
  Files          60       60           
  Lines        1852     1852           
  Branches      214      214           
=======================================
  Hits         1592     1592           
  Misses        200      200           
  Partials       60       60           
Flag Coverage Δ
#integration 100.00% <ø> (ø)
#unit 85.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8dd1b8b...21c8ecb. Read the comment docs.

@JoeRobich
Copy link
Member

I've added an option to disable prettier unless there is a prettier config file.

@muhammadsammy Seems reasonable. Thanks for submitting.

@JoeRobich
Copy link
Member

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.

2 participants