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

[Nullability Annotations to Java Classes] Update wordPressLintVersion to 2.0.0 #742

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Oct 24, 2023

This PR updates wordPressLintVersion to 2.0.0.

FYI: Since photoeditor module is all Kotlin, with no Java files in it, there is no point in utilizing the org.wordpress:lint library on it. However, the app module is still using Java files in it, and as such, it makes sense to utilize the org.wordpress:lint library on it.


To test:

  1. Verifying that all the CI checks are successful (focus on the Lint related check and its reports: mp4compose + stories + app).
  2. Verify that the new MissingNullAnnotationOn* correctness related rules are reporting as expected. For a reference, see screenshot below:

mp4compose module:

image

stories module:

image

app module:

image

Release Notes: https://github.com/wordpress-mobile/
WordPress-Lint-Android/releases/tag/2.0.0
Since 'photoeditor' module is all Kotlin, with no Java file in it,
there is no point in utilizing the 'org.wordpress:lint' on it.

FYI: As of version '2.0.0' has only one rule, which informs about
missing null annotation on Java classes.
Since 'app' module is still using Java files in it, it makes
sense to utilize the 'org.wordpress:lint' on it.

FYI: As of version '2.0.0' has only one rule, which informs about
missing null annotation on Java classes.
@wzieba wzieba merged commit bd7265e into trunk Oct 25, 2023
2 checks passed
@wzieba wzieba deleted the deps/update-wordpress-lint-to-2.0.0 branch October 25, 2023 10:32
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