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

Figure out why prettier is unable to read from .prettierrc #123

Open
Firgrep opened this issue Dec 7, 2024 · 0 comments
Open

Figure out why prettier is unable to read from .prettierrc #123

Firgrep opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Firgrep
Copy link
Member

Firgrep commented Dec 7, 2024

When installing prettier globally or single package as npx, it is not picking up from the repo's .prettierrc, causing false negatives during check.

Only by running a full install and then using a script from package.json, did it then format correctly...

The original workflow had config file even specified but prettier still ignored it.

Very mysterious. The workaround works for now, but it's quite expensive having to re-download all dependencies just to run one. If anyone wants to crack this, that'd be great!

@Firgrep Firgrep added bug Something isn't working help wanted Extra attention is needed labels Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant