One of the rules whitespace
or no-irregular-whitespace
should catch whitespaces in irregular places, e.g.:
As you can see now the code can look very inconsistent....
TSLint core's been moving away from formatting rules for some time now. Examples: #3995 / #3568 / #2814 / #3330 / #1306. In particular, per the discussion in #3330: every feature comes with a maintenance cost.
/cc @JKillian / @adidahiya / @johnwiseheart / @ajafff for interest. Should TSLint...
whitespace
and friends? tslint-consistent-codestyle
or another repository?Related discussions: #628, #975, #3592
TSLint is being deprecated and no longer accepting pull requests for major new changes or features. See #4534. 😱
If you'd like to see this change implemented, you have two choices:
👋 It was a pleasure open sourcing with you!
_If you believe this message was posted here in error, please comment so we can re-open the issue!_
🤖 Beep boop! 👉 TSLint is deprecated 👈 _(#4534)_ and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋