Introducing
The Slant team built an AI & it’s awesome
Find the best product instantly
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now
4.7 star rating
0
What is the best alternative to JSCS?
Ad
Ad
ESLint
All
8
Experiences
Pros
5
Cons
3
Top
Pro
Good ES6 support
See More
Top
Con
Can throw a weird error out of the box
See More
Top
Pro
Highly flexible ruleset
ESLint allows customizing rules for errors, best practices, variable declarations, ES6, style and JS running on Node. Additionally, custom rules can be applied.
See More
Top
Con
Requires some configuration before use
Some options and rules need to be configured before using it. This is done by using JavaScript comments inside the file itself, or through a configuration file which can be either a YAML or a JSON file.
See More
Top
Pro
Functionality can be extended with a wide variety of plugins
A wide variety of plugins are available on npm's repository.
See More
Top
Con
The documentation can be a hit or miss
ESLint's documentation is very detailed and helpful in some parts, while in others it gets a little confusing. For example, the rules list is easy to follow and is grouped into logical categories, while the configuration tutorials can get a little confusing.
See More
Top
Pro
Clear warnings and error messages
Warnings and error messages are detailed and easy to understand because of the usage of natural language throughout all warnings and messages. For each message, the rule name is given so you can know what rule is being broken.
See More
Top
Pro
JSX support
JSX extends JavaScript's syntax and makes code faster, safer and easier to write than using plain JavaScript. ESLint is actually the only tool of it's kind to support JSX.
See More
Hide
See All
Experiences
Get it
here
67
2
JSLint
All
5
Experiences
Pros
2
Cons
3
Top
Con
Highly opinionated
JSLint has a very strict, dogmatic ruleset that cannot be changed or warnings turned off. So much so that rarely any code will pass JSLint tests. It's reasonable to evaluate if all warning are worth changing.
See More
Top
Pro
Enforces a very high standard
Since it's relatively old (it was made in 2002) and made by Douglas Crockford, considered a JavaScript God by many JavaScript programmers. It was created to enforce what in Crockford's experience are the good parts of JavaScript. This means that it's considered by many the best way to enforce the highest standards in JavaScript.
See More
Top
Con
Difficult to know which rule is causing which error
Since you can't edit the rules and it's not programmed in a way to display the rule that's being broken, it's difficult to understand which rule has been broken.
See More
Top
Pro
No setup required
JSLint comes preconfigured and ready to be used.
See More
Top
Con
No way to support ESnext
See More
Hide
Get it
here
20
9
JSHint
All
5
Experiences
Pros
3
Cons
2
Top
Con
No way to support ESnext
There's no support for ESnext available.
See More
Top
Pro
Customizable ruleset
Since it's creation, JSHint was created to be a more configurable version of JSLint (it's actually a fork of JSLint itself). Every rule is configurable through a configuration file.
See More
Top
Con
Difficult to know which rule is causing an error
Because it does not display the rule name that is being broken, it's difficult to know which rule is actually causing the error.
See More
Top
Pro
Comes with support for many librariers
JSHint supports libraries like QUnit, NodeJS, jQuery, Mocha out of the box.
See More
Top
Pro
Basic ES6 support
Basic ES6 support is included.
See More
Hide
Get it
here
12
6
Built By the Slant team
Find the best product instantly.
4.7 star rating
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now - it's free
{}
undefined
url next
price drop