Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

More restrictive whitespaces #3548

Closed
DanielKucal opened this issue Dec 6, 2017 · 3 comments
Closed

More restrictive whitespaces #3548

DanielKucal opened this issue Dec 6, 2017 · 3 comments
Labels
Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier 🌹 R.I.P. 🌹 Status: In Discussion Type: Question

Comments

@DanielKucal
Copy link
Contributor

One of the rules whitespace or no-irregular-whitespace should catch whitespaces in irregular places, e.g.:
image

As you can see now the code can look very inconsistent....

@JoshuaKGoldberg
Copy link
Contributor

JoshuaKGoldberg commented Nov 4, 2018

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...

  • ...continue to add options to whitespace and friends?
  • ...keep the formatting rules where they are as a baseline?
  • ...move the formatting rules to tslint-consistent-codestyle or another repository?

Related discussions: #628, #975, #3592

@adidahiya adidahiya added the Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier label Jan 29, 2019
@JoshuaKGoldberg
Copy link
Contributor

💀 It's time! 💀

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:

  • Recommended: Check if this is available in ESLint + typescript-eslint
  • Not Recommended: Fork TSLint locally 🤷‍♂️

👋 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!

@JoshuaKGoldberg
Copy link
Contributor

🤖 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! 👋

@palantir palantir locked and limited conversation to collaborators Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Formatting rule Relates to a rule which enforces code formatting and likely overlaps with prettier 🌹 R.I.P. 🌹 Status: In Discussion Type: Question
Projects
None yet
Development

No branches or pull requests

3 participants