Skip to content

docs(eslint-plugin): [no-extraneous-class] fix option keys #551

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

Merged

Conversation

scottohara
Copy link
Contributor

Docs for no-extraneous-class list the following options:

  • constructorOnly
  • allowEmpty
  • staticOnly

However in the rule source, these options are actually named:

  • allowContructorOnly
  • allowEmpty
  • allowStaticOnly

This PR updates the docs to match the rule schema.

@bradzacher bradzacher added the documentation Documentation ("docs") that needs adding/updating label May 24, 2019
@bradzacher bradzacher merged commit cca1714 into typescript-eslint:master May 24, 2019
@scottohara scottohara deleted the fix/no-extraneous-class-docs branch May 24, 2019 01:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Documentation ("docs") that needs adding/updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants