You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
7 months ago
..
README v811_spc009_project 7 months ago
baseline.xml v811_spc009_project 7 months ago
lint.xml v811_spc009_project 7 months ago
run_lint.sh v811_spc009_project 7 months ago
update_baseline.sh v811_spc009_project 7 months ago

README

This directory contains configuration files for lint, which is run
in as an upload hook for repo upload.

lint.xml contains checks that are turned on or off, or whitelisted /
blacklisted for particular directories, if they are different from
the default.

baseline.xml contains the list of existing "grandfathered" lint
errors in the codebase. It is generated using ./tools/lint/update_baseline.sh

When you hit a lint error that should not be triggered, there are 3
possible resolutions:
1. Use tools:ignore or @SuppressLint annotation. This is preferred
   for cases where the lint violation is intended, so that reviewers
   can review whether the suppression is appropriate.
2. Use tools/lint.xml to ignore a lint check which we don't care
   about for any file, or checks that are not actionable by the
   CL author (e.g. translation issues)
3. If there are lint errors that should be fixed, but cannot be done
   immediately for some reason, the issue should be added to
   baseline.xml.


References
- https://developer.android.com/studio/write/lint.html
- http://tools.android.com/tips/lint-checks