Skip to content

Why config implicitly ignores editorconfig? #3963

@olsonpm

Description

@olsonpm

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 .editorconfig for the filenames unless I specify --no-editorconfig. I also expect a specified --config to only modify where .prettierrc is 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliIssues with Prettier's Command Line Interfacelocked-due-to-inactivityPlease 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions