-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Indentation for compliant and non-compliant code examples is missing #1871
Comments
3flex
pushed a commit
that referenced
this issue
Aug 31, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes #1871.
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 2, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 2, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 2, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
3flex
pushed a commit
that referenced
this issue
Sep 2, 2019
* Add tabs check for KDoc in detekt-generator This prevents the usage of tabs in KDoc to ensure correct indentation when generating the Markdown rule documentation. This relates to the issue described in #1871. * Only use 1 tab in generator test snippet
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 3, 2019
* Add tabs check for KDoc in detekt-generator This prevents the usage of tabs in KDoc to ensure correct indentation when generating the Markdown rule documentation. This relates to the issue described in detekt#1871. * Only use 1 tab in generator test snippet
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 17, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
sowmyav24
pushed a commit
to sowmyav24/detekt
that referenced
this issue
Sep 17, 2019
* Add tabs check for KDoc in detekt-generator This prevents the usage of tabs in KDoc to ensure correct indentation when generating the Markdown rule documentation. This relates to the issue described in detekt#1871. * Only use 1 tab in generator test snippet
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
* Add tabs check for KDoc in detekt-generator This prevents the usage of tabs in KDoc to ensure correct indentation when generating the Markdown rule documentation. This relates to the issue described in detekt#1871. * Only use 1 tab in generator test snippet
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
The parsed [KDocSection] element contains no tabs. Therefore, the indentation gets removed when generating the Markdown rule documentation out of the rules KDoc. This PR fixes detekt#1871.
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
* Add tabs check for KDoc in detekt-generator This prevents the usage of tabs in KDoc to ensure correct indentation when generating the Markdown rule documentation. This relates to the issue described in detekt#1871. * Only use 1 tab in generator test snippet
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For some rules the compliant and non-compliant code examples use tabs instead of spaces to indent lines.
The tab character gets ignored when generating the corresponding
.md
file with the help of thedetekt-generator
.Actual (with tabs)
https://arturbosch.github.io/detekt/style.html#equalsonsignatureline
https://arturbosch.github.io/detekt/style.html#explicititlambdaparameter
Expected (with spaces)
https://arturbosch.github.io/detekt/style.html#compliant-code-5
The text was updated successfully, but these errors were encountered: