Top "Lint" questions

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

Sublime Text 3 Sublimelinter phplint and php not found?

I have been playing with this for over an hour to get the sublimelinter working. So I now have the …

php sublimetext3 lint sublimelinter
ignore eslint error: 'import' and 'export' may only appear at the top level

Is it possible to deactivate this error in eslint? Parsing error: 'import' and 'export' may only appear at the top …

lint eslint
How to set .eslintrc to recognize 'require'?

I am new to ESLint, and I have successfully integrated ESLint with IntelliJ. Out of the box, my integration of …

javascript intellij-idea eslint jshint lint
tslint Error - Shadowed name: 'err'

tslint is currently throwing the following error Shadowed name: 'err' Here is the code fs.readdir(fileUrl, (err, files) => { …

node.js angular typescript lint tslint
Ignoring return values in C

Lately, I started using lint for static code analysis. One of the warning I get sometimes is regarding this issue. …

c coding-style return-value lint
avoid lint when gradle execute check

could someone tell me a way to avoid executing "lint" each time I run in gradle check? I've defined in …

android gradle lint
Lint error: Implement lifecycle hook interfaces

Hey everyone I got a linting error and I am not sure what it is talking about, this is the …

angular npm lint
Resolved color instead of a resource id

Recently I've seen appeared a lint error in my code: Should pass resolved color instead of resource id here: getResources().…

android lint
How to auto format JSON on save in Vim

To be honest go has spoiled me. With go I got used to having a strict formatting standard that is …

json vim format lint
Using JSLint in Notepad++

I have seen other text editors use extensions to allow syntax checkers such as JSLint, is this possible with Notepad++?

javascript notepad++ jslint lint