jsx-eslint/eslint-plugin-react

Autofix --fix-type layout

Open

#2,618 建立於 2020年4月7日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (8,630 star) (2,797 fork)batch import
help wanted

描述

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?

貢獻者指南