Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Suggestion
Following#4907: we very much do not want to be spending time on formatting rules. And while it would be nice to prosthelytize in issues that ask for formatting work, we certainly don't want to repeatedly get into heated discussions.
Suggestion: how about we add a GitHub Actions bot that adds an automatic comment to issues? It should explicitly say that it is anautomated bot that does not need to be responded to. Something like:
Beep boop, hello! 🤖 I'm the TypeScript ESLint Formatting Bot, and I'm popping in automatically to advertise that we strongly recommend against using ESLint rules for formatting purposes.
- ESLint core has not accepted new stylistic rules for years
- Formatting rules are inherently difficult to maintain and will not catch many edge cases(todo: docs link pendingDocs: Add our opinion on delegating stylistic issues to a tool such as Prettier #4907)
- Dedicated formatting tools such asPrettier are much faster, more stable, and more comprehensive than ESLint can ever be for formatting.
This message is automated and serves only as a reminder. We will still triage your issue and, as long as it only involves fixing existing formatting rules, do not plan on automatically closing it.
Please do not respond to this message. Thanks! 💝
Ideally it should only post at most once per issue...