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] Add wordpress.lint Dependency #1066

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Oct 24, 2023

This PR adds wordPress-lint checks to the project (2.0.0).

FYI: Since the aztec module is still using Java files in it, it makes sense to utilize the org.wordpress:lint library on it. All other modules are all Kotlin, with no Java files in it. As such, there is no point in utilizing the org.wordpress:lint library on any other module.


To test:

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

aztec module:

image

Release Notes: https://github.com/wordpress-mobile/
WordPress-Lint-Android/releases/tag/2.0.0

Since the 'aztec' module is still using Java files in it, it makes
sense to utilize the 'org.wordpress:lint' library on it. All other
modules are all Kotlin, with no Java files in it. As such, there is no
point in utilizing the 'org.wordpress:lint' library on any other module.

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