-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Why config implicitly ignores editorconfig? #3963
Copy link
Copy link
Closed
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:questionQuestions and support requests. Please use Stack Overflow for them, not the issue tracker.Questions and support requests. Please use Stack Overflow for them, not the issue tracker.
Metadata
Metadata
Assignees
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:questionQuestions and support requests. Please use Stack Overflow for them, not the issue tracker.Questions and support requests. Please use Stack Overflow for them, not the issue tracker.
I read through some comments in the pr introducing editorconfig integration - but I can't find a reason why specifying a config should ignore a search for editorconfig.
My expectation is for the cli to parse
.editorconfigfor the filenames unless I specify--no-editorconfig. I also expect a specified--configto only modify where.prettierrcis found.I ask because I'm trying to create a PR integrating an API change in cosmiconfig, and I would like to understand this behavior before I continue.