You need to enable JavaScript to run this app.
Possible Errors
Best Practices
Strict Mode
Variables
Node.js and CommonJS
Stylistic Issues
array-bracket-newline
Fixable
Turn on
Enforce linebreaks after opening and before closing array brackets
array-bracket-spacing
Fixable
Turn on
Enforce consistent spacing inside array brackets
array-element-newline
Fixable
Turn on
Enforce line breaks after each array element
block-spacing
Fixable
Turn on
Disallow or enforce spaces inside of blocks after opening block and before closing block
brace-style
Fixable
Turn on
Enforce consistent brace style for blocks
camelcase
Turn on
Enforce camelcase naming convention
capitalized-comments
Fixable
Turn on
Enforce or disallow capitalization of the first letter of a comment
comma-dangle
Fixable
Turn on
Require or disallow trailing commas
comma-spacing
Fixable
Turn on
Enforce consistent spacing before and after commas
comma-style
Fixable
Turn on
Enforce consistent comma style
computed-property-spacing
Fixable
Turn on
Enforce consistent spacing inside computed property brackets
consistent-this
Turn on
Enforce consistent naming when capturing the current execution context
eol-last
Fixable
Turn on
Require or disallow newline at the end of files
func-call-spacing
Fixable
Turn on
Require or disallow spacing between function identifiers and their invocations
func-name-matching
Turn on
Require function names to match the name of the variable or property to which they are assigned
func-names
Turn on
Require or disallow named function expressions
func-style
Turn on
Enforce the consistent use of either function declarations or expressions
function-paren-newline
Fixable
Turn on
Enforce consistent line breaks inside function parentheses
id-blacklist
Turn on
Disallow specified identifiers
id-length
Turn on
Enforce minimum and maximum identifier lengths
id-match
Turn on
Require identifiers to match a specified regular expression
implicit-arrow-linebreak
Fixable
Turn on
Enforce the location of arrow function bodies
indent
Fixable
Turn on
Enforce consistent indentation
jsx-quotes
Fixable
Turn on
Enforce the consistent use of either double or single quotes in JSX attributes
key-spacing
Fixable
Turn on
Enforce consistent spacing between keys and values in object literal properties
keyword-spacing
Fixable
Turn on
Enforce consistent spacing before and after keywords
line-comment-position
Turn on
Enforce position of line comments
linebreak-style
Fixable
Turn on
Enforce consistent linebreak style
lines-around-comment
Fixable
Turn on
Require empty lines around comments
lines-between-class-members
Fixable
Turn on
Require or disallow an empty line between class members
max-depth
Turn on
Enforce a maximum depth that blocks can be nested
max-len
Turn on
Enforce a maximum line length
max-lines
Turn on
Enforce a maximum number of lines per file
max-lines-per-function
Turn on
Enforce a maximum number of line of code in a function
max-nested-callbacks
Turn on
Enforce a maximum depth that callbacks can be nested
max-params
Turn on
Enforce a maximum number of parameters in function definitions
max-statements
Turn on
Enforce a maximum number of statements allowed in function blocks
max-statements-per-line
Turn on
Enforce a maximum number of statements allowed per line
multiline-comment-style
Fixable
Turn on
Enforce a particular style for multiline comments
multiline-ternary
Turn on
Enforce newlines between operands of ternary expressions
new-cap
Turn on
Require constructor names to begin with a capital letter
new-parens
Fixable
Turn on
Require parentheses when invoking a constructor with no arguments
newline-per-chained-call
Fixable
Turn on
Require a newline after each call in a method chain
no-array-constructor
Turn on
Disallow Array constructors
no-bitwise
Turn on
Disallow bitwise operators
no-continue
Turn on
Disallow continue statements
no-inline-comments
Turn on
Disallow inline comments after code
no-lonely-if
Fixable
Turn on
Disallow if statements as the only statement in else blocks
no-mixed-operators
Turn on
Disallow mixed binary operators
no-mixed-spaces-and-tabs
Recommended
Turn on
Disallow mixed spaces and tabs for indentation
no-multi-assign
Turn on
Disallow use of chained assignment expressions
no-multiple-empty-lines
Fixable
Turn on
Disallow multiple empty lines
no-negated-condition
Turn on
Disallow negated conditions
no-nested-ternary
Turn on
Disallow nested ternary expressions
no-new-object
Turn on
Disallow Object constructors
no-plusplus
Turn on
Disallow the unary operators ++ and --
no-restricted-syntax
Turn on
Disallow specified syntax
no-tabs
Turn on
Disallow all tabs
no-ternary
Turn on
Disallow ternary operators
no-trailing-spaces
Fixable
Turn on
Disallow trailing whitespace at the end of lines
no-underscore-dangle
Turn on
Disallow dangling underscores in identifiers
no-unneeded-ternary
Fixable
Turn on
Disallow ternary operators when simpler alternatives exist
no-whitespace-before-property
Fixable
Turn on
Disallow whitespace before properties
nonblock-statement-body-position
Fixable
Turn on
Enforce the location of single-line statements
object-curly-newline
Fixable
Turn on
Enforce consistent line breaks inside braces
object-curly-spacing
Fixable
Turn on
Enforce consistent spacing inside braces
object-property-newline
Fixable
Turn on
Enforce placing object properties on separate lines
one-var
Fixable
Turn on
Enforce variables to be declared either together or separately in functions
one-var-declaration-per-line
Fixable
Turn on
Require or disallow newlines around variable declarations
operator-assignment
Fixable
Turn on
Require or disallow assignment operator shorthand where possible
operator-linebreak
Fixable
Turn on
Enforce consistent linebreak style for operators
padded-blocks
Fixable
Turn on
Require or disallow padding within blocks
padding-line-between-statements
Fixable
Turn on
Require or disallow padding lines between statements
prefer-object-spread
Fixable
Turn on
Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
quote-props
Fixable
Turn on
Require quotes around object literal property names
quotes
Fixable
Turn on
Enforce the consistent use of either backticks, double, or single quotes
require-jsdoc
Turn on
Require JSDoc comments
semi
Fixable
Turn on
Require or disallow semicolons instead of ASI
semi-spacing
Fixable
Turn on
Enforce consistent spacing before and after semicolons
semi-style
Fixable
Turn on
Enforce location of semicolons
sort-keys
Turn on
Require object keys to be sorted
sort-vars
Fixable
Turn on
Require variables within the same declaration block to be sorted
space-before-blocks
Fixable
Turn on
Enforce consistent spacing before blocks
space-before-function-paren
Fixable
Turn on
Enforce consistent spacing before function definition opening parenthesis
space-in-parens
Fixable
Turn on
Enforce consistent spacing inside parentheses
space-infix-ops
Fixable
Turn on
Require spacing around infix operators
space-unary-ops
Fixable
Turn on
Enforce consistent spacing before or after unary operators
spaced-comment
Fixable
Turn on
Enforce consistent spacing after the // or /* in a comment
switch-colon-spacing
Fixable
Turn on
Enforce spacing around colons of switch statements
template-tag-spacing
Fixable
Turn on
Require or disallow spacing between template tags and their literals
unicode-bom
Fixable
Turn on
Require or disallow Unicode byte order mark (BOM)
wrap-regex
Fixable
Turn on
Require parenthesis around regex literals
ECMAScript 6
Download
Preview
no-continue
- Disallow continue statements
This rule disallows continue statements.
What ESLint should do when it catches the rule break
Show a warning
Rule examples
You can check them out
here
.
no-bitwise
no-inline-comments