I'm using WebStorm and trying to keep such code style:
But when I do that, TSLint underlines my spaces and gives me the hint:
"Too many spaces before 'from' (import-spacing)".
My question is: Is there a way to keep this code style without underlying? I also googled the problem, but with no success.
And I don't want to disable TSLint totally, just this rule for spaces.
In your tslint.json file, add this rule:
{
"rules": {
"import-spacing": false
}
}
See also: https://palantir.github.io/tslint/rules/import-spacing/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With