We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[email protected] [email protected] [email protected]
Extract from my .editorconfig:
.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.
tabWidth
.prettierrc.json
The workaround creates duplication. Ignoring .editorconfig is inconsistent with standalone prettier.
Possibly related to #88.
The text was updated successfully, but these errors were encountered:
Fix: respect editorconfig
f5ff547
Fixes prettier#90
Fix: respect editorconfig (#92)
0b04dd3
Fixes #90 https://prettier.io/docs/en/api.html#prettierresolveconfigfilepath-options
Successfully merging a pull request may close this issue.
[email protected]
[email protected]
[email protected]
Extract from my
.editorconfig
: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.
The text was updated successfully, but these errors were encountered: