Software Alternatives & Reviews

JSHint VS JSLint

Compare JSHint VS JSLint and see what are their differences

JSHint logo JSHint

New JSHint website. Anton Kovalyov Oct 1st, 2013. For the last couple of weeks I've been working on a new homepage for JSHint and today I'm proud to announce the new jshint. com! JSHint Website.

JSLint logo JSLint

JSLint is a JavaScript program that looks for problems in JavaScript programs.
  • JSHint Landing page
    Landing page //
    2023-07-27
  • JSLint Landing page
    Landing page //
    2023-09-13

JSHint videos

Improve code quality with JSHint

More videos:

  • Review - JSHint- JavaScript Code Quality Tool, detect errors and potential
  • Review - JavaScript Static Analysis - Linting with JSLint, JSHint, and ESLint

JSLint videos

JavaScript Chapter 4 - a look at jslint

Category Popularity

0-100% (relative to JSHint and JSLint)
JS Build Tools
100 100%
0% 0
Code Coverage
0 0%
100% 100
Development
66 66%
34% 34
Code Quality
0 0%
100% 100

User comments

Share your experience with using JSHint and JSLint. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, JSHint should be more popular than JSLint. It has been mentiond 14 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

JSHint mentions (14)

  • Trouble with Syntax
    Also, if you are going to code for this sheet and do not know about the website jshint.com, you need to know about jshint.com. Source: 10 months ago
  • I’m trying to play Shinsetsu Mahou Shoujo + but it keeps giving me an error. I’ve tried changing the folder location, and renaming the folder… I also tried English, Japanese, and even Chinese locale. Can anybody help?
    There is an error in some file. Or maybe some wine shenanigans (never used it). You can try searching for the file item-possessionLimit.js and paste it into something like https://jshint.com/ to get an analysis and try to fix it. But it might give you further errors or file might be packed somewhere. Source: 11 months ago
  • Trying not to be a jerk to myself. :(
    If you are coding for this sheet and you do not know about jshint.com ... Source: 12 months ago
  • Find ES6 features in any JS code
    I came across a problem where I had to find the ES6 features used by any javascript project and other data regarding their use. When I reached out to stackoverflow, I could find only one relevant post which asks you to use linters like jshint/jshint or compilers like babel. Jslint didn't seem to report anything specific to ES6 and Babel converts all the ES6+ features to ES5 but doesn't report anything regarding... - Source: dev.to / over 1 year ago
  • The Why & How To Create A Front-End Website Testing Plan
    Javascript Linting parses and checks if any syntax is violating the rule. If a violation occurs, a warning is shown explaining unexpected behavior. Use the online version for small projects: JSLint, ESLint or JSHint. For larger projects, it is recommended to use a task runner like Gulp or Grunt. Linters ensure developers are following the best practices as a result of which few bugs appear during project development. - Source: dev.to / over 1 year ago
View more

JSLint mentions (4)

  • JSLint error: Move all 'var' declarations to the top of the function
    UPDATE 8/22/2011: found http://jshint.com, it looks much better than http://jslint.com/. Source: about 2 years ago
  • Deltarune crash after editing chapter 1 language file
    Use https://jslint.com to find the unescaped quote or whatever that's invalidating the file. Remember to put quote marks in dialogue as \". Source: over 2 years ago
  • You shall never disrespect the ways of the elders
    Ooh! I'm pretty sure I actually know this one! I watched a bunch of Douglas Crockford talk's at Yahoo! Talking about the weirdness of the language he helped develop (such as this one). He also has built JSLint to help pull out code that runs but can have unexpected results. Booleans in JS evaluate if something is truthy or falsy and undefined is falsy (19:20), however a string of "undefined" would be truthy, and... Source: over 2 years ago
  • Stupid simple problem in JS
    For future, just pop your code into an HTML Validator, a JS Linter, or a CSS Linter and it will check for basic stuff like this. There are also plugins in most IDEs for these kind of things which are incredibly useful. Source: about 3 years ago

What are some alternatives?

When comparing JSHint and JSLint, you can also consider the following products

RequireJS - RequireJS is a JavaScript file and module loader.

CodeClimate - Code Climate provides automated code review for your apps, letting you fix quality and security issues before they hit production. We check every commit, branch and pull request for changes in quality and potential vulnerabilities.

npm - npm is a package manager for Node.

ESLint - The fully pluggable JavaScript code quality tool

GNU Make - GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

Codacy - Automatically reviews code style, security, duplication, complexity, and coverage on every change while tracking code quality throughout your sprints.