Skip to content

Conversation

@cruzdanilo
Copy link
Contributor

add plugin to recommended config, so it's not necessary to explicitly add the plugin when using this config.
this is the default for every major eslint plugin with recommended configs, ex:

  • eslint-plugin-node
  • eslint-plugin-react
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-jest
  • eslint-plugin-promise
  • eslint-plugin-vue
  • eslint-plugin-prettier
  • and others.

@brettz9
Copy link
Contributor

brettz9 commented Feb 17, 2020

In case it provides some assurances, eslint itself also documents this being done for plugins (see the example code which includes plugins on each config): https://eslint.org/docs/developer-guide/working-with-plugins#configs-in-plugins

Copy link
Owner

@lo1tuma lo1tuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants