Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Releases: Chesire/LintRules

1.2.6

27 Feb 17:03
99bcba6
Compare
Choose a tag to compare
  • fix: dependency ordering for nested project dependencies
    When using a project dependency that had a nested module it would incorrectly flag warnings
  • fix: remove the kotlin dependency exclusion
    When checking the ordering of the dependencies, if the Kotlin dependency was found it would be ignored

1.2.5

04 Oct 14:25
1a1e1d6
Compare
Choose a tag to compare

Re-release of updates done in 1.2.4, but for some reason there was already a 1.2.4 uploaded to Bintray. Must have been while I was testing the Bintray publish.

1.2.4

04 Oct 14:19
1a1e1d6
Compare
Choose a tag to compare
  • fix: duplicate dependency flagged across different modules

When a dependency is used across multiple modules, then it gets flagged up as duplicated.

1.2.3

31 Aug 19:48
ea6330b
Compare
Choose a tag to compare
  • fix: gradle project dependencies flagging duplicate warning

Gradle dependencies for a project which used the syntax such as implementation project(path: ":features:discover") no longer flags a warning for duplicate dependencies.

1.2.2

15 Aug 20:56
39d6abc
Compare
Choose a tag to compare

Update the included lint and Kotlin versions.

1.2.1

15 Aug 20:54
b233f45
Compare
Choose a tag to compare

Update the included lint and Kotlin versions.

1.2.0

11 May 21:05
cbf6e9e
Compare
Choose a tag to compare
  • feat: add new rule MultipleNewline
  • feat: add new rule MultipleSpaces

Add two new rules, MultipleNewline will detect when there are multiple empty lines one after another, and MultipleSpaces which detects when duplicate spaces are used.
Both of these new rules are available on the Gradle and XML module.

1.1.3

21 Jan 22:29
1841c27
Compare
Choose a tag to compare
  • fix: false duplicate issue on project dependencies

When having dependencies that were implementation project(path: ':core') then the duplicate dependency check would flag up every project as a duplicate.

1.1.2

14 Nov 17:32
da2564e
Compare
Choose a tag to compare
  • fix: lexicographic ordering doesn't properly check for :

For users who have multiple repositories then the Lexicographic ordering gets confused, as it will
see that : is higher than ., so it would allow items such as com.chesire:lifecyklelog to
come after com.chesire.lintrules:lint-gradle. Made it replace instances of : with a . and
then do a straight compare, which should produce a valid result

1.1.1

12 Nov 22:21
fe42cf5
Compare
Choose a tag to compare
  • fix: xml module not registering correctly
    • The lintrules-xml module was not being correctly registered, causing it to fail when trying to run lint.