wordpress-mobile / AztecEditor-Android

A reusable native Android rich text editor component.
Mozilla Public License 2.0
673 stars 114 forks source link

[Nullability Annotations to Java Classes] Add `wordpress.lint` Dependency #1066

Closed ParaskP7 closed 6 months ago

ParaskP7 commented 6 months ago

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