Skip to content

support editorconfig #11

@dsilvasc

Description

@dsilvasc

prettier reads and honors editorconfig: https://prettier.io/docs/en/api.html#prettierresolveconfigfilepath--options

pprettier doesn't seem to.

So if you have in your .editorconfig:

[*.{js,ts,jsx,tsx}]
max_line_length = 100

then prettier will set printWidth to 100 but pprettier will keep it at the default 80.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions