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

Documentation for prefer-inline-decorator rule is outdated #939

Closed
y-moroz opened this issue Dec 16, 2019 · 1 comment
Closed

Documentation for prefer-inline-decorator rule is outdated #939

y-moroz opened this issue Dec 16, 2019 · 1 comment

Comments

@y-moroz
Copy link

y-moroz commented Dec 16, 2019

The syntax of options for the prefer-inline-decorator rule was changed in the #794, and now docs show wrong information. Now the only way to understand how it works is to look at the source code - https://github.com/rafaelss95/codelyzer/blob/master/src/preferInlineDecoratorRule.ts#L91. Also, the documentation states that this rule has a fixer, while the hasFix option was deleted in the scope of the above PR.

Environment

  • Version 5.2.0
  • OS: Ubuntu
  • Node.js version 13.2.0
  • Package manager (yarn/npm) version 6.13.1
  • Angular version 8.2.3
  • tslint version 5.11.0
@mgechev
Copy link
Owner

mgechev commented Dec 16, 2019

Thanks for pointing this out! This commit should have fixed the problem.

@mgechev mgechev closed this as completed Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants