You need to enable JavaScript to run this app.
Possible Errors
for-direction
Recommended
Turn on
Enforce “for” loop update clause moving the counter in the right direction
getter-return
Recommended
Turn on
Enforce return statements in getters
no-await-in-loop
Turn on
Disallow await inside of loops
no-async-promise-executor
Turn on
Disallow using an async function as a Promise executor
no-compare-neg-zero
Recommended
Turn on
Disallow comparing against -0
no-cond-assign
Recommended
Turn on
Disallow assignment operators in conditional expressions
no-control-regex
Recommended
Turn on
Disallow control characters in regular expressions
no-constant-condition
Recommended
Turn on
Disallow constant expressions in conditions
no-console
Recommended
Turn on
Disallow the use of console
no-debugger
Recommended
Turn on
Disallow the use of debugger
no-dupe-args
Recommended
Turn on
Disallow duplicate arguments in function definitions
no-dupe-keys
Recommended
Turn on
Disallow duplicate keys in object literals
no-duplicate-case
Recommended
Turn on
Disallow duplicate case labels
no-empty
Recommended
Turn on
Disallow empty block statements
no-empty-character-class
Recommended
Turn on
Disallow empty character classes in regular expressions
no-ex-assign
Recommended
Turn on
Disallow reassigning exceptions in catch clauses
no-extra-boolean-cast
Recommended
Fixable
Turn on
Disallow unnecessary boolean casts
no-extra-parens
Fixable
Turn on
Disallow unnecessary parentheses
no-extra-semi
Recommended
Fixable
Turn on
Disallow unnecessary semicolons
no-func-assign
Recommended
Turn on
Disallow reassigning function declarations
no-inner-declarations
Recommended
Turn on
Disallow variable or function declarations in nested blocks
no-invalid-regexp
Recommended
Turn on
Disallow invalid regular expression strings in RegExp constructors
no-irregular-whitespace
Recommended
Turn on
Disallow irregular whitespace outside of strings and comments
no-misleading-character-class
Turn on
Disallow characters which are made with multiple code points in character class syntax
no-obj-calls
Recommended
Turn on
Disallow calling global object properties as functions
no-prototype-builtins
Turn on
Disallow calling some Object.prototype methods directly on objects
no-regex-spaces
Recommended
Fixable
Turn on
Disallow multiple spaces in regular expressions
no-sparse-arrays
Recommended
Turn on
Disallow sparse arrays
no-template-curly-in-string
Turn on
Disallow template literal placeholder syntax in regular strings
no-unexpected-multiline
Recommended
Turn on
Disallow confusing multiline expressions
no-unreachable
Recommended
Turn on
Disallow unreachable code after return, throw, continue, and break statements
no-unsafe-finally
Recommended
Turn on
Disallow control flow statements in finally blocks
no-unsafe-negation
Recommended
Fixable
Turn on
Disallow negating the left operand of relational operators
require-atomic-updates
Turn on
Disallow assignments that can lead to race conditions due to usage of await or yield
use-isnan
Recommended
Turn on
Require calls to isNaN() when checking for NaN
valid-jsdoc
Fixable
Turn on
Enforce valid JSDoc comments
valid-typeof
Recommended
Turn on
Enforce comparing typeof expressions against valid strings
Best Practices
Strict Mode
Variables
Node.js and CommonJS
Stylistic Issues
ECMAScript 6
Download
Preview
no-debugger
- Disallow the use of debugger
Recommended
This rule disallows debugger statements.
What ESLint should do when it catches the rule break
Show a warning
Rule examples
You can check them out
here
.
no-console
no-dupe-args