ESLint
87 rules eslint@10.12.0
Complete effective rule inventory.
Rules
No enabled ESLint rules match this search.
-
no-fallthroughDisallow fallthrough of
casestatements: error in All ESLint contexts -
no-func-assignDisallow reassigning
functiondeclarations: warning in JavaScript source, React JavaScript source -
no-global-assignDisallow assignments to native objects or read-only global variables
: warning in All ESLint contexts -
no-implied-evalDisallow the use of
eval()-like methods: error in Syntax-only tool configuration -
no-import-assignDisallow assigning to imported bindings
: warning in JavaScript source, React JavaScript source -
no-invalid-regexpDisallow invalid regular expression strings in
RegExpconstructors: warning in All ESLint contexts -
no-irregular-whitespaceDisallow irregular whitespace
: warning in All ESLint contexts -
no-loss-of-precisionDisallow literal numbers that lose precision
: warning in All ESLint contexts -
no-misleading-character-classDisallow characters which are made with multiple code points in character class syntax
: warning in All ESLint contexts -
no-new-funcDisallow
newoperators with theFunctionobject: error in Syntax-only tool configuration -
no-new-native-nonconstructorDisallow
newoperators with global non-constructor functions: warning in JavaScript source, React JavaScript source -
no-nonoctal-decimal-escapeDisallow
\8and\9escape sequences in string literals: warning in All ESLint contexts -
no-obj-callsDisallow calling global object properties as functions
: warning in JavaScript source, React JavaScript source -
no-octalDisallow octal literals
: warning in All ESLint contexts -
no-param-reassignDisallow reassigning function parameters
: error in All ESLint contexts -
no-prototype-builtinsDisallow calling some
Object.prototypemethods directly on objects: error in All ESLint contexts -
no-redeclareDisallow variable redeclaration
: warning in JavaScript source, React JavaScript source -
no-regex-spacesDisallow multiple spaces in regular expressions
: warning in All ESLint contexts -
no-restricted-importsDisallow specified modules when loaded by
import: error in All ESLint contexts -
no-restricted-syntaxDisallow specified syntax
: error in All ESLint contexts -
no-self-assignDisallow assignments where both sides are exactly the same
: warning in All ESLint contexts -
no-setter-returnDisallow returning values from setters
: warning in JavaScript source, React JavaScript source -
no-shadow-restricted-namesDisallow identifiers from shadowing restricted names
: warning in All ESLint contexts -
no-sparse-arraysDisallow sparse arrays
: warning in All ESLint contexts -
no-this-before-superDisallow
this/superbefore callingsuper()in constructors: warning in JavaScript source, React JavaScript source -
no-unassigned-varsDisallow
letorvarvariables that are read but never assigned: warning in All ESLint contexts -
no-undefDisallow the use of undeclared variables unless mentioned in
/*global */comments: warning in JavaScript source, React JavaScript source -
no-undef-initDisallow initializing variables to
undefined: error in All ESLint contexts -
no-unexpected-multilineDisallow confusing multiline expressions
: warning in All ESLint contexts -
no-unreachableDisallow unreachable code after
return,throw,continue, andbreakstatements: warning in JavaScript source, React JavaScript source -
no-unsafe-finallyDisallow control flow statements in
finallyblocks: error in All ESLint contexts -
no-unsafe-negationDisallow negating the left operand of relational operators
: warning in JavaScript source, React JavaScript source