We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Unfortunately the current sample tslint.json for tslint incorrectly suggests the format for the indent rule is:
tslint.json
tslint
[true, 4]
However, the code that parses the setting expects the format to be:
[true, "spaces"]
There isn't even an option for a number in the final position (even though that seems quite sensible).
I've raised a pull request to fix the sample.
However this presents a problem for tsfmt, specifically here.
tsfmt
This means:
My suggestion would be that we drop the parsing of the indent rule from tslint.json.
The text was updated successfully, but these errors were encountered:
This change works for me...
Sorry, something went wrong.
This is handled by #24
vvakame
No branches or pull requests
Unfortunately the current sample
tslint.json
fortslint
incorrectly suggests the format for the indent rule is:However, the code that parses the setting expects the format to be:
There isn't even an option for a number in the final position (even though that seems quite sensible).
I've raised a pull request to fix the sample.
However this presents a problem for
tsfmt
, specifically here.This means:
[true, 4]
,tsfmt
correct indents code buttslint
fails to apply the indent linting rule[true, "spaces"]
,tsfmt
removes all indenting buttslint
correctly applies the indent linting ruleMy suggestion would be that we drop the parsing of the indent rule from
tslint.json
.The text was updated successfully, but these errors were encountered: