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

[BE2] Work on more rules for linter #1871

Merged
merged 25 commits into from
Jun 17, 2024
Merged

Commits on May 10, 2024

  1. Work on more rules

    t1b00 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    93e4776 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Built IllegalFormatString rule (still some input values left to add) …

    …and created Util file with util functions
    t1b00 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    4f0121b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'refs/heads/work-be2-thibault-linter_more_rules' into wo…

    …rk-be2-thibault-linter_master
    t1b00 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    3c4317a View commit details
    Browse the repository at this point in the history
  3. Added tests in format string rules, added support for literal.format(…

    …) in EmptyInterpolatedString
    t1b00 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b4dbf95 View commit details
    Browse the repository at this point in the history
  4. Added IncorrectNumberOfArgsToFormat rule, reformatted other rules (co…

    …nverted nested methods to private class methods)
    t1b00 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ecfda68 View commit details
    Browse the repository at this point in the history
  5. Added IncorrectNumberOfArgsToFormat rule, reformatted other rules (co…

    …nverted nested methods to private class methods)
    t1b00 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2d3de5e View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    dc9cf71 View commit details
    Browse the repository at this point in the history
  2. Simplified test

    t1b00 committed May 22, 2024
    Configuration menu
    Copy the full SHA
    8c562cb View commit details
    Browse the repository at this point in the history
  3. Cleaned-up code

    t1b00 committed May 22, 2024
    Configuration menu
    Copy the full SHA
    a495c08 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Implemented LonelySealedTrait

    t1b00 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    e6b67f9 View commit details
    Browse the repository at this point in the history
  2. Implemented LonelySealedTrait

    t1b00 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    80c99a7 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/work-be2-thibault-linter_master'…

    … into work-be2-thibault-linter_master
    
    # Conflicts:
    #	be2-scala/linter/input/src/main/scala/fix/LonelySealedTrait.scala
    t1b00 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    6999a27 View commit details
    Browse the repository at this point in the history
  4. Added comments

    t1b00 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0680e5f View commit details
    Browse the repository at this point in the history
  5. Added MapGetAndGetOrElse

    t1b00 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    d5f9381 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Added NanComparison rule

    Corrected functionality in findDefinition (could previously only find literal definitions).
    Adapted other rules (IncorrectNumberOfArgsToFormat, IllegalFormatString) to modification
    t1b00 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    65c12bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecbe196 View commit details
    Browse the repository at this point in the history
  3. Added OptionGet and OptionSize

    t1b00 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    e4aa58b View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Added StripMarginOnRegex rule

    Adapted IllegalFormatString and NanComparison to modification in findDefinitions in Util
    t1b00 committed May 30, 2024
    Configuration menu
    Copy the full SHA
    cf66a86 View commit details
    Browse the repository at this point in the history
  2. Removed unecessary println

    t1b00 committed May 30, 2024
    Configuration menu
    Copy the full SHA
    70a9eb5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10add0c View commit details
    Browse the repository at this point in the history
  4. Added TryGet rule

    Improved Util with a matchType function and adapted matching
    t1b00 committed May 30, 2024
    Configuration menu
    Copy the full SHA
    3681835 View commit details
    Browse the repository at this point in the history
  5. Fixed wrong diag

    t1b00 committed May 30, 2024
    Configuration menu
    Copy the full SHA
    39dfad3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Made getType null safe

    t1b00 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a836771 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Uncommented code

    t1b00 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    4eb6797 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    9c32274 View commit details
    Browse the repository at this point in the history