Top "Lint" questions

Please tag questions about static analysis tools "static-analysis" unless they're actually about the Lint utility.

"Cannot Resolve Symbol" Error when using android:id="@+android:id/my_id"

When I am adding android:id/background to the namespace, Lint complains that it "Cannot Resolve Symbol" even though I …

android android-studio lint
Selector, Layer-list and shape/bitmap in the same xml

I have this code in an xml inside the drawable folder: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:…

android android-studio lint xml-drawable
How do I get a Java maven build to fail for compiler warnings?

I am trying: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin&…

java maven compiler-construction build lint
For Android, where do I find a complete list of @SuppressLint valid issue ids

At the moment, I need to ignore a string concatenation warning relative to internationalization, but would like to "learn how …

android lint
How to ignore complete folders for lint checking with gradle?

I have an Android project that includes generated code. This code has some lint violations in it that I don't …

android gradle lint
Where can I find an actively developed lint tool for Ruby?

Most of the code I write is in Ruby, and every once in a while, I make some typo which …

ruby code-analysis static-analysis lint
Lint for Objective-C?

Possible Duplicate: Code linting for Objective C Is there any lint tool for Objective-c?

objective-c cocoa lint
cmake clang-tidy (or other script) as custom target

I am trying to create a custom cmake target for clang-tidy, to lint my project. The source folder looks something …

cmake clang target lint clang-tidy
Are there any lint checkers for makefiles?

I know there are many linters for programming languages, like pep8 for python, but I have never come across one …

makefile gnu-make lint
Lint-like program for Perl?

I'm looking for a lint for Perl, something that would catch dead code and other potential problems. Any suggestions? I …

perl lint static-code-analysis