android lint exclude test directories ignore in config not working -
i want configure android lint ignore test paths , projects using lint.xml
samplelint.xml:
<?xml version="1.0" encoding="utf-8"?> <lint> ... <issue id="all" severity="ignore" > <ignore path="tests/projecttests/res/layout/button.xml" /> <ignore path="tests/projecttest2s/res/layout/button.xml" /> <ignore path="tests/projecttests2/res/layout/button.xml" /> ... </issue> </lint> used sample cmd offical lint page:
lint --check accessibility --html /var/www/asc/accessibility_report.html --config lint.xml but files in lint.xml not ignored expected.
i tried:
<ignore path="**/tests/projecttests2/res/layout/button.xml" /> but still have same issue.
if put in tools:ignore="all" in specify xml files lint ignore file.
Comments
Post a Comment