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

Create a rule to check that there are no extension functions in the same file with the class #731

Closed
petertrr opened this issue Jan 26, 2021 · 0 comments · Fixed by #733
Closed
Assignees

Comments

@petertrr
Copy link
Member

please create a feature to check that noone creates extension function in the same file with the class

Originally posted by @akuleshov7 in #722 (comment)

@aktsay6 aktsay6 self-assigned this Jan 26, 2021
aktsay6 added a commit that referenced this issue Jan 27, 2021
### What's done:
  * Logic done
  * Added warn tests
aktsay6 added a commit that referenced this issue Jan 27, 2021
# Conflicts:
#	diktat-analysis.yml
#	diktat-rules/src/main/kotlin/generated/WarningNames.kt
#	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/constants/Warnings.kt
#	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt
#	diktat-rules/src/main/resources/diktat-analysis-huawei.yml
#	diktat-rules/src/main/resources/diktat-analysis.yml
#	info/guide/guide-TOC.md
aktsay6 added a commit that referenced this issue Jan 27, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 27, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 27, 2021
### What's done:
  * Logic remade
aktsay6 added a commit that referenced this issue Jan 28, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 28, 2021
# Conflicts:
#	diktat-rules/src/main/kotlin/generated/WarningNames.kt
aktsay6 added a commit that referenced this issue Jan 28, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 28, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 28, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 28, 2021
…e with the class(#731) (#733)

* feature/no-extension-func-with-class(#731)

### What's done:
  * Logic done
  * Added warn tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants