Top "Lint" questions

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

TSLint - Preventing error: The key is not sorted alphabetically

I'm doing a test app with Ionic2 / Cordova / Typescript / Angular. I'm using tslint 5.6.0. I'm using the following module: https://www.…

reactjs typescript typescript2.0 lint tslint
Having scss-lint ignore a particular line

How do you tell scss-lint to ignore a particular line in a .scss file? i.e. can you do something …

sass lint
in c: func(void) vs. func()

When a C function does not accept any arguments, does it have to be declared/defined with a "void" parameter …

c function void lint
Android Studio lint reports "cannot infer argument types."

I have reviewed the Inspection report for my project that is provided by Android Studio after having executed the following …

android gradle android-studio lint
How to exclude a folder from tslint?

I like to exclude the test folder form linting with tslint in vscode. So I have placed an exclude into …

javascript visual-studio-code lint tslint
How can I configure Pylint to check all things PEP8 checks?

Searching for an answer on Pylint's mailing list brings no interesting results. Pylint is known to be very customizable, so …

python coding-style lint pylint pep8
How can I check (My)SQL statements for syntactical correctness

we're currently setting up out integration server and during that process we've set up pre-commit hooks on the SVN so …

mysql lint syntax-checking
Error: Expected resource of type styleable [ResourceType] error

Take a look at this code snippet. I am getting an error with the last line, because I am passing …

android android-studio lint
How can I get ESLint to lint HTML files in VSCode?

I have a Javascript browser project split over multiple files and can't get ESLint to lint the script tags of …

javascript visual-studio-code eslint lint
Is JSLint available for offline use?

I'd like to use JSLint, but I am wary of tools that have access to my unfiltered source code. Is …

javascript compiler-errors jslint lint