Project that reproduces every lint violation out there. (At least that's the idea, contributions welcome.)
UNLICENSE License
Project that reproduces every lint violation out there.
See settings.gradle
for list of lint checks added in the project.
lint
REPORT
or REPORTED
comments, see CONTRIBUTING.md)This project is not meant to show good practices, quite the opposite, code is written intentionally badly to reproduce specific Lint check violations.
That being said, I strive to use best practices and style whenever possible. Code that's not related to the lint check violation should be the best possible. For example supporting code (like build.gradle
s) were written with best intentions.
Examples one should almost never do in production:
lintOptions
and lintVerifyCount
is set up).
See instructions
23.0.0 + <AGP version>
.lint --show
See docs/lint/show (version).txt
.lint --list
See docs/lint/list (version).txt
..idea/inspectionProfiles/Project_Default.xml
lint-checks-26.0.0-dev.jar
)
lint --show | grep 'Category:' | uniq --count | sort --reverse
# Windows with grep and uniq helpers from cpp-w64devkit:
lint --show | grep "Category:" | uniq -c | sort /R
See docs/lint/categories (version).txt
.