Skip to content

Disable/Remove all stylistic rulesΒ #418

@fluiderson

Description

@fluiderson

ESLint has decided long ago to deprecate all stylistic lints, the same decision ensued in typescript-eslint.

The premise is that formatting should be done by other tools that sometimes have conflicts with linters. For example, currently, if you are using Prettier with default options, you need to disable 3 rules from the recommended config (indent, no-extra-spacing-attrs, and require-closing-tags) since Prettier formats HTML in such a way that violates them.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Example formatted with Prettier</title>
  </head>
</html>

I think it'd be a bit nicer to have no stylistic issues reported by default. Please consider disabling all stylistic rules in the recommended config, or even removing them, like it's done in typescript-eslint.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions