In the example configuration part of the README, I think most of the plugins are unnecessary. For instance, the "plugin:react/recommended" config file already contains plugin: ["react"], and the the "plugin:@typescript-eslint/recommended" config file already contains plugin: [ "@typescript-eslint"]. Generally speaking, if you extend a config file that is exported by a plugin, then you won't need to manually add that plugin in your plugin: [].
It'd also be nice if the README could explain about this fact a little bit. Lots of developers actually don't understand eslint config to this extent, they usually just copy paste.
I'm not an eslint expert either, so please correct me if I'm wrong.
In the example configuration part of the README, I think most of the plugins are unnecessary. For instance, the
"plugin:react/recommended"
config file already containsplugin: ["react"]
, and the the"plugin:@typescript-eslint/recommended"
config file already containsplugin: [ "@typescript-eslint"]
. Generally speaking, if you extend a config file that is exported by a plugin, then you won't need to manually add that plugin in yourplugin: []
.It'd also be nice if the README could explain about this fact a little bit. Lots of developers actually don't understand eslint config to this extent, they usually just copy paste.
I'm not an eslint expert either, so please correct me if I'm wrong.