Skip to content

.editorconfig is ignored #90

@wojpawlik

Description

@wojpawlik

[email protected]
[email protected]
[email protected]

Extract from my .editorconfig:

[*]
indent_style = space
indent_size = 4

What did you expect to happen?

I expected my code to be indented using 4 spaces.

What actually happened?

My code was indented using 2 spaces, prettier's default.

I worked around this by specifying tabWidth in .prettierrc.json.

The workaround creates duplication. Ignoring .editorconfig is inconsistent with standalone prettier.

Possibly related to #88.

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