jsx-eslint/eslint-plugin-react

Autofix --fix-type layout

Open

#2618 aperta il 7 apr 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (2797 fork)batch import
help wanted

Metriche repository

Star
 (8630 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor