Adding `gradlew lint` to `android-{fenix|focus|ac}` linters and reporting lint errors on phabricator
Categories
(Firefox for Android :: Tooling, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: adhingra, Assigned: adhingra)
References
Details
(Whiteboard: [fxdroid][group3])
Attachments
(4 files, 1 obsolete file)
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Currently CI runs android lint for android projects, but for developers to run lint locally they need to cd
into the subdirectory and run gradlew lint
. This bug adds gradlew lint
to mach lint
through the android-{fenix|focus|ac}
linters in addition of ktlint and detekt which were added in [[ https://phabricator.services.mozilla.com/D216999 | D216999 ]]
This patch changes android lint configuration to generate JSON report of errors and then reads these errors in lints.py
to report in the same format as other linters.
Updated•3 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
Currently CI runs android lint for android projects, but for developers to run lint locally they need to cd
into the subdirectory and run gradlew lint
. This bug adds gradlew lint
to mach lint
through the android-{fenix|focus|ac}
linters in addition of ktlint and detekt which were added in [[ https://phabricator.services.mozilla.com/D216999 | D216999 ]]
This patch changes android lint configuration to generate JSON report of errors and then reads these errors in lints.py
to report in the same format as other linters.
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Comment 3•2 months ago
|
||
Updated•2 months ago
|
Assignee | ||
Comment 4•2 months ago
|
||
Updated•2 months ago
|
Assignee | ||
Comment 5•2 months ago
|
||
Updated•2 months ago
|
Comment 7•2 months ago
|
||
bugherder |
Description
•