jsx-eslint/eslint-plugin-react

Autofix --fix-type layout

Open

#2,618 opened on Apr 7, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (2,797 forks)batch import
help wanted

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I want to use eslint's autofix to fix layouts only. Like this: eslint --fix --fix-type layout (--fix-type: https://eslint.org/docs/user-guide/command-line-interface#fix-type ) To work that one plugin's rules must contains the type field. ( the type field: https://eslint.org/docs/developer-guide/working-with-rules#rule-basics ) Are there any reasons why this field cannot be added?

Contributor guide