Skip to content

Instantly share code, notes, and snippets.

@martinbonnin
Created October 17, 2019 14:07
Show Gist options
  • Save martinbonnin/3f10aae4ff0b755d568e441ea9de225a to your computer and use it in GitHub Desktop.
Save martinbonnin/3f10aae4ff0b755d568e441ea9de225a to your computer and use it in GitHub Desktop.
lintOptions {
// disable checks enabled by default
disable("RtlHardcoded", "RtlCompat")
// Enable some checks that are disabled by default.
enable("NegativeMargin", "GoogleAppIndexingApiWarning")
// Only check this exact list of issues
// Shorthand for disable(everything) and enable(these issues)
check("UnusedResources", "DevModeObsolete")
// Shorthand for enable(allWhereSeverityIsWarning)
// Severity is resolved at the start of configuration so this will not be affected by
// other options
isCheckAllWarnings = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment