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

Added rule to detect commented code #1

Merged
merged 6 commits into from
Jul 3, 2020

Commits on Jun 30, 2020

  1. Added rule to detect commented code

    ### What's done:
    * Added CommentsRule with warning COMMENTED_OUT_CODE
    * Added tests
    * Fixed typo in all of custom rules
    petertrr committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    3941e3e View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2020

  1. Added rule to detect commented code

    ### What's done:
    * Updated README.md
    petertrr committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    696056c View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into feature/rule-2.7-co…

    …mmented-code
    
    # Conflicts:
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/FileNaming.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/IdentifierNaming.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/KdocComments.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/KdocFormatting.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/KdocMethods.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/PackageNaming.kt
    #	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/comments/HeaderCommentRule.kt
    petertrr committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    6ed0819 View commit details
    Browse the repository at this point in the history
  3. Fixes after merge

    ### What's done:
    * Fixes after merge
    petertrr committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    10cb2b0 View commit details
    Browse the repository at this point in the history
  4. Fixes after review

    ### What's done:
    * Refactoring
    * Additional test case
    petertrr committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    860a1e5 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/feature/rule-2.7-commented-code'…

    … into feature/rule-2.7-commented-code
    petertrr committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    7cae2df View commit details
    Browse the repository at this point in the history