Description
What problem do you want to solve?
Continuing #419: much of ESLint's community still uses ESLint for formatting logic. Two common user behaviors that are explicitly recommended against by at least me are:
- Directly using ESLint's formatting rules (
max-len
,semi
, etc.) - Using
eslint-plugin-prettier
to run Prettier through ESLint
I'm under the impression that at least the first of those two, using ESLint's formatting rules, is something the ESLint team explicitly recommends against (e.g. #419 (comment)). At the very least we recommend against it in https://typescript-eslint.io/linting/troubleshooting/formatting.
And I've been recommending against the eslint-plugin-prettier
option because it slows formatting down to the speed of linting (which is particularly irksome on projects that enable slower, more powerful type checked rules).
What do you think is the correct solution?
Could we have an explicit notice somewhere on eslint.org indicating suggestions for how to use ESLint properly? How about a Configuration FAQs page with an entry for each of the two points mentioned here?
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status