JakeWharton / JakeWharton/timber

Several lint checks not working in Kotlin files, but working ok in Java files

Open
#503 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
10.8k
Forks
994
Avg merge
17h 16m
Merged PRs (30d)
17

Description

Lint rules highlighted ok for `LogNotTimber`

![image](https://github.com/JakeWharton/timber/assets/143704384/41f6feed-bf31-487c-b9e1-b1708f9d99d7)

Also, partially highlighted for `TimberArgCount` and `TimberArgTypes`

![image](https://github.com/JakeWharton/timber/assets/143704384/b686fa83-b610-4c5b-9c47-418a7d2d74bb)

But for `StringFormatInTimber`, `ThrowableNotAtBeginning`, `BinaryOperationInTimber`, `TimberTagLength`, `TimberExceptionLogging`

**But in .java files it works ok for every rule**, except `TimberTagLength`

`kotlin version: 1.7.22`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the listed lint checks in Kotlin files using Kotlin 1.7.22, then compare their behavior with the same checks in Java files. Investigate the lint rule entry points and existing tests mentioned by the project, and consider the issue done when all listed rules are highlighted correctly in Kotlin while preserving the working Java behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.