Skip to content

Disable react/self-closing-comp #83

@gaurav5430

Description

@gaurav5430

The current exclusion config for react seems to turn off a handful of jsx related rules.
How do you decide which rules to turn off?

Is the react/self-closing-comp rule a style related rule, should it be part of prettier exclusions?

Prettier seems to automatically correct this when saving, but while working on the file in the editor, i get 2 linting errors, one from prettier and another from airbnb config.

Please help me understand whether or not this is something that should be turned off by eslint-config-prettier?
(I am still trying to understand what to expect from prettier and eslint-config-prettier)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions