Skip to content

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

Merged
wzieba merged 1 commit into
trunkfrom
deps/add-wordpress-lint-depepndency
Oct 25, 2023
Merged

[Nullability Annotations to Java Classes] Add wordpress.lint Dependency#1066
wzieba merged 1 commit into
trunkfrom
deps/add-wordpress-lint-depepndency

Conversation

@ParaskP7

@ParaskP7ParaskP7 commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

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 trunkOct 25, 2023
@wzieba
wzieba deleted the deps/add-wordpress-lint-depepndency branch October 25, 2023 10:34
Sign up for freeto 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

@ParaskP7@wzieba