Commit 8d9c3d94 authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Improve lint suppression regex

Explicitly match only on literal . characters instead of any characters.
Add explanatory comment.

Bug: 1078229
Change-Id: I1f248d270ebd22f17aebaad55750d5bed9a275a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519897
Auto-Submit: Peter Wen <wnwen@chromium.org>
Reviewed-by: default avatarMohamed Heikal <mheikal@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824128}
parent 05a1b870
...@@ -13,8 +13,9 @@ Still reading? ...@@ -13,8 +13,9 @@ Still reading?
local as possible, i.e. by warning message or by file. local as possible, i.e. by warning message or by file.
- When adding new issues, please keep the issue ids in sorted order. - When adding new issues, please keep the issue ids in sorted order.
--> -->
<!-- Ignore all lint errors in clank code. -->
<issue id="all"> <issue id="all">
<ignore regexp="^../../clank/"/> <ignore regexp="^\.\./\.\./clank/"/>
<ignore regexp="^gen/clank/"/> <ignore regexp="^gen/clank/"/>
<!-- obj can be a subdirectory under gen. --> <!-- obj can be a subdirectory under gen. -->
<ignore regexp="/obj/clank/"/> <ignore regexp="/obj/clank/"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment