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

chore: simplify prettierignore #4480

Closed
wants to merge 2 commits into from
Closed

Conversation

turadg
Copy link
Member

@turadg turadg commented Feb 7, 2022

Description

Removing special cases in prettierignore, came up in #4364 (comment)

Also removed the nested .prettierignore files because they're not read during the root command prettier/prettier#4081

Security Considerations

--

Documentation Considerations

Reduces need for documenation

Testing Considerations

--

@turadg turadg requested review from michaelfig and removed request for michaelfig February 7, 2022 19:03
@turadg turadg marked this pull request as draft February 7, 2022 20:35
@turadg turadg marked this pull request as ready for review February 7, 2022 21:44
@turadg turadg requested a review from mhofman February 7, 2022 21:45
@mhofman
Copy link
Member

mhofman commented Feb 7, 2022

Removing special cases in prettierignore, came up in #4364 (comment)

What is the plan to keep this file in sync with upstream? Reformatting usually creates headaches.

@turadg
Copy link
Member Author

turadg commented Feb 7, 2022

What is the plan to keep this file in sync with upstream? Reformatting usually creates headaches.

I assume that when someone wants to pull changes from the original source they would pretty it first so they could get a useful diff.

Comment on lines -18 to -20
# subrepos
/packages/xsnap/moddable
/packages/xsnap/xsnap-native
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we prevent prettier from reaching into subrepos without this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. This was an error introduced when I testing whether nested ignore files worked. (They don't) I'll restore. Thankfully the linter complained too!

@turadg turadg closed this Mar 8, 2022
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