Features Videos Help About Updates
Menu Buy Now

JSHint

First Steps:
Getting Started
Live-Reload Browsers
Browser Sync
Set Language Options
Set Output Paths & Action
Second Steps:
Defaults For New Projects
Build Your Project
Set Target Browsers
Stuff To Know:
CodeKit + Git
Troubleshooting
License Recovery
PostCSS Tools:
Autoprefixer
PurgeCSS
CSSO
Custom PostCSS Plugins
Other Tools:
npm
Babel — (JS Transpiler)
Terser — (JS Minifier)
Rollup — (JS Bundler)
Cache-Buster
HTML-Minifier
Libsass
Bless
Languages:
Sass
Less
Stylus
JavaScript
CoffeeScript
TypeScript
Pug
Haml
Slim
Kit
Markdown
JSON
Image Optimizers:
WebP
PNG
JPEG
SVG
GIF
Frameworks:
CodeKit Frameworks
TailwindCSS
Bourbon
Bitters
Zurb Foundation
Susy
Nib
Jeet
Compass
Syntax Checkers:
ESLint
CoffeeLint
Advanced:
Hooks
Environment Variables
Adding Custom Languages
Team Workflows
Scripting CodeKit
Editor Plugins:
Nova
Atom
Sublime Text
Coda 2
More
Read-Only Mode
Upgrading From 2.0
FAQ
The JSHint logo

What's JSHint?

JSHint is a JavaScript syntax checker.

It can find lots of errors in your code and enforce your preferred style (spaces, not tabs!) JSHint originated as a fork of JSLint and was designed to be less "opinionated" and more configurable than its predecessor.


Advice: Use ESLint

While JSHint was a great tool for its day, ESLint is what you should be using now. ESLint is far more configurable, checks for more issues, and has really easy-to-understand documentation. Most importantly, ESLint supports the newest JavaScript standards like ES6.

CodeKit 3.0 supports JSHint mostly for backwards-compatibility. As of 2016, ESLint is the industry standard in JavaScript syntax checkers. You should move to it immediately.

That said, this recommendation is in no way a condemnation of JSHint or its developers. The JSHint community simply decided not to support next-generation JavaScript, which puts them at a huge disadvantage. Over the years, JSHint has improved countless websites and pushed the world forward. Anton Kovalyov (its creator) and all the people who work on it deserve our thanks.


Using JSHint

Please see the help page for ESLint. Both tools are very similar and the instructions for ESLint mostly apply to JSHint as well.


Made in San Diego, CA

Follow the Developer on Twitter

Email Support

Report a Bug

Privacy Policy