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] Integration of linter in the main code #1914

Merged
merged 12 commits into from
Jun 19, 2024

Conversation

t1b00
Copy link
Contributor

@t1b00 t1b00 commented Jun 6, 2024

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

t1b00 added 7 commits June 4, 2024 10:09
… 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
Copy link

github-actions bot commented Jun 6, 2024

Pull reviewers stats

Stats of the last 30 days for popstellar:

User Total reviews Time to review Total comments
K1li4nL
🥇
17
▀▀▀▀
3d 23h 9m
20
▀▀▀
matteosz
🥈
5
1d 7h 45m
4
simone-kalbermatter
🥉
4
8h 40m
0
onsriahi14
4
1d 10h 51m
5
emonnin-epfl
3
8h 20m
8
DanielTavaresA
3
2d 19h 23m
10
▀▀
pierluca
2
3d 11h 3m
1
MariemBaccari
2
22h 39m
6
Tyratox
1
44m
0
arnauds5
1
10d 19h 13m
▀▀▀
0
sgueissa
1
6d 11h 44m
▀▀
1
osm-alt
1
25m
0
quadcopterman
1
4d 2h 40m
0
Kaz-ookid
1
1d 2h 1m
5
⚡️ Pull request stats

@t1b00 t1b00 marked this pull request as ready for review June 8, 2024 12:58
@t1b00 t1b00 requested a review from a team as a code owner June 8, 2024 12:58
@K1li4nL K1li4nL changed the base branch from master to work-be2-thibault-linter_master June 8, 2024 15:30
Base automatically changed from work-be2-thibault-linter_master to master June 17, 2024 12:12
An error occurred while trying to automatically change base from work-be2-thibault-linter_master to master June 17, 2024 12:12
Copy link
Contributor

@K1li4nL K1li4nL left a 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

be2-scala/linter/project/plugins.sbt Show resolved Hide resolved
be2-scala/linter/rules/src/main/scala/fix/Util.scala Outdated Show resolved Hide resolved
K1li4nL
K1li4nL previously approved these changes Jun 19, 2024
Copy link
Contributor

@K1li4nL K1li4nL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

Copy link

Copy link

@t1b00 t1b00 enabled auto-merge June 19, 2024 13:13
Copy link

@t1b00 t1b00 added this pull request to the merge queue Jun 19, 2024
Merged via the queue into master with commit 9f2ebed Jun 19, 2024
17 checks passed
@t1b00 t1b00 deleted the work-be2-thibault-linter-integration branch June 19, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants