Lines Matching +full:ignore +full:- +full:errors
8 [Android Lint]: https://googlesamples.github.io/android-custom-lint-rules/book.md.html
10 [list of checks]: https://googlesamples.github.io/android-custom-lint-rules/checks/index.md.html
23 - `//chrome/android:monochrome_public_bundle`
24 - `//android_webview/support_library/boundary_interfaces:boundary_interface_example_apk`
25 …- Other targets with `enable_lint` enabled: https://source.chromium.org/search?q=lang:gn%20enable_…
32 $ gn args out/Default --list=android_static_analysis
52 that tells lint to ignore the annotated element. It can be used on classes,
58 **lint** what to ignore. It can be a single `String`:
81 For resource xml files you can use `tools:ignore`:
84 <?xml version="1.0" encoding="utf-8"?>
86 <!-- TODO(crbug/###): remove tools:ignore once these colors are used -->
87 <color name="hi" tools:ignore="NewApi,UnusedResources">@color/unused</color>
93 ### Suppress it in a `lint-suppressions.xml` file
95 **lint** can be given a per-target XML configuration file containing warnings or
96 errors that should be ignored. Each target defines its own configuration file
102 ignoring warnings only for this target. To permanently ignore a warning for all
108 Feel free to suppress those in lint-suppressions.xml files since it is not
110 to list out every language for every violation in lint-baseline.xml files.
115 <?xml version="1.0" encoding="utf-8" ?>
117 <!-- Chrome is a system app. -->
118 <issue id="ProtectedPermissions" severity="ignore"/>
120 <!-- 1 raw resources are accessed by URL in various places. -->
121 <ignore regexp="gen/remoting/android/.*/res/raw/credits.*"/>
122 <!-- TODO(crbug.com/###): Remove the following line. -->
123 <ignore regexp="The resource `R.string.soon_to_be_used` appears to be unused"/>
128 ## What are `lint-baseline.xml` files for?
130 Baseline files are to help us introduce new lint warnings and errors without
131 blocking on fixing all our existing code that violate these new errors. Since
133 One of the approaches above should be used instead. Eventually all the errors in