Top "Lint" questions

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

SyntaxError: unexpected EOF while parsing

I am getting error while running this part of the code. tried some of the existing solutions, none of them …

python python-3.x python-3.6 eof lint
What is "Linting"?

PHPLint, JSLint, and I recently came across "you can lint your JS code on the fly" while reading something about …

lint gjslint
Turning off eslint rule for a specific file

Is it possible to turn off the eslint rule for the whole file? Something such as: // eslint-disable-file no-use-before-define (Analogous to …

javascript configuration lint eslint
JSHint and jQuery: '$' is not defined

The following JS: (function() { "use strict"; $("#target").click(function(){ console.log("clicked"); }); }()); Yields: test.js: line 5, col 3, '$' is …

javascript jquery lint jshint
Permission is only granted to system app

I have a System app that uses system permissions and I have those permissions listed in the manifest. Eclipse gives …

android eclipse lint
how to avoid "Octal literals are not allowed in strict mode" with createWriteStream

I have the following code fs.createWriteStream( fileName, { flags : 'a', encoding : 'utf8', mode : 0644 }); I get a lint error Octal …

node.js lint
Could not find com.android.tools.lint:lint-gradle Android Studio 3

I have updated Android Studio to 3.0 and now received a lot of issues.. now stoped on point with such issue: …

android android-studio lint android-studio-3.0
Is there a simple CLI Java linter?

I've been trying to find a Java linter capable of running on the CLI that is separate from Eclipse that …

java lint
Lint for C#

Is there a lint-like tool for C#? I've got the compiler to flag warnings-as-errors, and I've got Stylecop, but these …

c# .net code-analysis lint
How to configure package.json to run eslint script

So I am using eslint as a linter for my react project and I would like it to check all …

reactjs webpack lint package.json