Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.editorconfig is ignored #90

Closed
wojpawlik opened this issue May 4, 2018 · 0 comments · Fixed by #92
Closed

.editorconfig is ignored #90

wojpawlik opened this issue May 4, 2018 · 0 comments · Fixed by #92

Comments

@wojpawlik
Copy link

[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.

azz added a commit to azz/eslint-plugin-prettier that referenced this issue Jun 4, 2018
@azz azz closed this as completed in #92 Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant