ESLint JSCS

suggest change

ESLint is a code style linter and formatter for your style guide much like JSHint. ESLint merged with JSCS in April of 2016. ESLint does take more effort to set up than JSHint, but there are clear instructions on their website for getting started.

A sample configuration for ESLint is as follows:

{
    "rules": {
        "semi": ["error", "always"], // throw an error when semicolons are detected 
        "quotes": ["error", "double"] // throw an error when double quotes are detected
    }
}

A sample configuration file where ALL rules are set to off, with descriptions for what they do can be found here.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Linters for ensuring code quality:
* JSHint
* ESLint JSCS
* JSLint

Table Of Contents
11 Arrays
12 Objects
14 Classes
16 Map
17 Set
24 Loops
27 Date
29 Scope
30 AJAX
35 Cookies
41 JSON
44 Fetch
45 Modules
46 Screen
64 Console
68 Symbols
73 Modals
76 Events
80 Linters for ensuring code quality
86 Proxy
89 WeakMap
90 WeakSet
102 Tilde