This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
[BUG] Formatting typescript file does not respect shiftwidth settings, hence tabSize is incorrect #423
Labels
scope: bug
Something isn't working
Current Behavior:
When I try to format my typescript code, even when my nvim "shiftwidth" is 4, the formatted code is always use tabsize of 2
Expected Behavior:
Tabsize for formatted code should be 4
Steps To Reproduce:
Anything else:
I Performed some debug, and after awhile, it's seemed that eslint_d's formatter does not respect the setting. Nullls get the correct shiftwidth and pass correct value to
eslint_d
, buteslint_d
just ignore it. It's possible that I have a misconfiguration, but I tried all ways but failed to force eslint_d to use correct shiftwidthMy Suggestion is to use
prettierd
for formatting typescript code (and maybe javascript code also) instead of eslint_dThe text was updated successfully, but these errors were encountered: