Skip to content

.editorconfig is ignored #90

Closed
Closed

Description

@wojpawlik

eslint@4.19.1
prettier@1.12.1
eslint-plugin-prettier@2.6.0

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.

Activity

  1. added a commit that references this issue on Jun 4, 2018
    f5ff547
  2. added a commit that references this issue on Jun 12, 2018
    0b04dd3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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