jsx-eslint/eslint-plugin-react

Autofix --fix-type layout

Open

#2,618 opened on Apr 7, 2020

 (3 comments) (0 reactions) (0 assignees)JavaScript (2,734 forks)batch import
help wanted

Repository metrics

Stars
 (9,294 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