Skip to content

Suggestion: Add an explicit page with the recommendation against formatting/style rules #435

Closed as not planned
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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:

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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions