-
Notifications
You must be signed in to change notification settings - Fork 8
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] Integration of linter in the main code #1914
Conversation
…tripMarginOnRegex
… work-be2-thibault-linter-integration # Conflicts: # be2-scala/linter/rules/src/main/scala/fix/ArraysInFormat.scala # be2-scala/linter/rules/src/main/scala/fix/ComparingFloatingTypes.scala # be2-scala/linter/rules/src/main/scala/fix/EmptyInterpolatedString.scala # be2-scala/linter/rules/src/main/scala/fix/IllegalFormatString.scala # be2-scala/linter/rules/src/main/scala/fix/IncorrectlyNamedExceptions.scala # be2-scala/linter/rules/src/main/scala/fix/LonelySealedTrait.scala # be2-scala/linter/rules/src/main/scala/fix/OptionGet.scala # be2-scala/linter/rules/src/main/scala/fix/OptionSize.scala # be2-scala/linter/rules/src/main/scala/fix/StripMarginOnRegex.scala # be2-scala/linter/rules/src/main/scala/fix/TryGet.scala # be2-scala/linter/rules/src/main/scala/fix/Util.scala
Pull reviewers statsStats of the last 30 days for popstellar:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job adding documentation ! Only minor comment / question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
|
|
|
PR makes the linter publishable, with modifications to the build.sbt of the linter and provides documentation in the README.md.
Small modification at the end of build.sbt of the main project (most edits were done by automatic cleanup), that adds custom rules
Rules use a diag() function instead of a class, which would cause compilation errors in Scala 3