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

Possible bug in NewLinesRule. #748

Closed
aktsay6 opened this issue Feb 4, 2021 · 0 comments · Fixed by #749
Closed

Possible bug in NewLinesRule. #748

aktsay6 opened this issue Feb 4, 2021 · 0 comments · Fixed by #749
Assignees
Labels
bug Something isn't working

Comments

@aktsay6
Copy link
Collaborator

aktsay6 commented Feb 4, 2021

Describe the bug

If class has more than 3 arguments, then each of them should start from new line.

Expected behavior

class AnnotationNewLineRule(configRules: List<RulesConfig>) : DiktatRule("annotation-new-line", 
configRules,
listOf(ANNOTATION_NEW_LINE)) {

Observed behavior

class AnnotationNewLineRule(configRules: List<RulesConfig>) : DiktatRule("annotation-new-line", configRules, listOf(ANNOTATION_NEW_LINE)) {

Environment information

  • diktat version: 0.4.1-SNAPSHOT
@aktsay6 aktsay6 added the bug Something isn't working label Feb 4, 2021
@aktsay6 aktsay6 self-assigned this Feb 4, 2021
aktsay6 added a commit that referenced this issue Feb 4, 2021
### What's done:
  * Fixed bug
aktsay6 added a commit that referenced this issue Feb 4, 2021
### What's done:
  * Fixed bug
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
# Conflicts:
#	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter2/kdoc/CommentsFormatting.kt
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 9, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Feb 15, 2021
### What's done:
  * Fixed bug
aktsay6 added a commit that referenced this issue Feb 15, 2021
* bugfix/newlinesrule(#748)

### What's done:
  * Fixed bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant