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?

贡献者指南