Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add plugin to recommended config #226

Merged
merged 1 commit into from
Feb 17, 2020
Merged

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