jsx-eslint/eslint-plugin-react

Autofix --fix-type layout

Open

#2.618 geöffnet am 7. Apr. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.797 Forks)batch import
help wanted

Repository-Metriken

Stars
 (8.630 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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