image

JavaScript code linters

Linters are tools used to increase code quality, configured manually, and run automatically when code changes.


image

ESLint

ESLint supports JSX, making it very popular with the React community. ESLint is superior for its ability to detect problems and has more rules available than other linters. While it does require configuration, ESLint has many presets available that make getting started a breeze.

image

StandardJS

StandardJS is an opinionated JavaScript style guide, linter, and formatter. It has three core features: no configuration needed, automatically format code and catch style issues & programmer errors early.

image

JSLint

JSLint is highly opinionated and based on Douglas Crockford’s Javascript: The Good Parts, super easy to just start using, but does not provide enough customization.

image

JSHint

JSHint comes loaded with sensible defaults, highly opinionated, allows for a lot more configuration than JSLint, provides the perfect blend of ease and functionality.

image

XO

A JavaScript/TypeScript linter with great defaults, uses ESLint underneath, opinionated but configurable, JSX is supported by default, etc.