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

Docs: Missing autoCorrect option for various rules #1796

Closed
3 of 6 tasks
bagage opened this issue Aug 1, 2019 · 1 comment · Fixed by #1798
Closed
3 of 6 tasks

Docs: Missing autoCorrect option for various rules #1796

bagage opened this issue Aug 1, 2019 · 1 comment · Fixed by #1798
Milestone

Comments

@bagage
Copy link
Contributor

bagage commented Aug 1, 2019

It seems that ktlint supports autoCorrect for indentation rule but it is not declared on detekt side.

Could it be added so that we can benefit from that? I didn't check other rules, maybe some others are missing as well.

edit: Seems to be missing for:

  • IndentationRule
  • AnnotationOnSeparateLine (AnnotationRule)
  • MaximumLineLength
  • NoWildcardImports
  • Filename
  • ImportOrdering
@bagage bagage changed the title Indentation rule: add autoCorrect option Missing autoCorrect option for various rules Aug 1, 2019
@bagage bagage changed the title Missing autoCorrect option for various rules Docs: Missing autoCorrect option for various rules Aug 2, 2019
@bagage
Copy link
Contributor Author

bagage commented Aug 2, 2019

edit: it has actually not much impact, because it only allows you to disable/enable autocorrect per rule. But still it would be a nice docs benefit.

@arturbosch arturbosch added this to the 1.0.0 milestone Aug 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants