ESLint core
104 rules oxlint@1.91.0
Complete effective rule inventory.
Rules
No enabled ESLint core rules match this search.
-
no-evalDisallow the use of
eval(): error in All ESLint core contexts -
no-ex-assignDisallow reassigning exceptions in
catchclauses: warning in All ESLint core contexts -
no-extra-bindDisallow unnecessary calls to
.bind(): error in All ESLint core contexts -
no-extra-boolean-castDisallow unnecessary boolean casts
: warning in All ESLint core contexts -
no-extra-labelDisallow unnecessary labels
: warning in All ESLint core contexts -
no-fallthroughDisallow fallthrough of
casestatements: error in All ESLint core 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 core 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 core contexts -
no-irregular-whitespaceDisallow irregular whitespace
: warning in All ESLint core contexts -
no-iteratorDisallow the use of the
__iterator__property: error in All ESLint core contexts -
no-lonely-ifDisallow
ifstatements as the only statement inelseblocks: warning in All ESLint core contexts -
no-loss-of-precisionDisallow literal numbers that lose precision
: warning in All ESLint core contexts -
no-misleading-character-classDisallow characters which are made with multiple code points in character class syntax
: warning in All ESLint core 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 core contexts -
no-obj-callsDisallow calling global object properties as functions
: warning in JavaScript source, React JavaScript source -
no-param-reassignDisallow reassigning function parameters
: error in All ESLint core contexts -
no-promise-executor-returnDisallow returning values from Promise executor functions
: warning in All ESLint core contexts -
no-protoDisallow the use of the
__proto__property: error in All ESLint core contexts -
no-prototype-builtinsDisallow calling some
Object.prototypemethods directly on objects: error in All ESLint core contexts -
no-redeclareDisallow variable redeclaration
: warning in JavaScript source, React JavaScript source -
no-regex-spacesDisallow multiple spaces in regular expressions
: warning in All ESLint core contexts -
no-restricted-importsDisallow specified modules when loaded by
import: error in All ESLint core contexts -
no-restricted-propertiesDisallow certain properties on certain objects
: error in All ESLint core contexts -
no-return-assignDisallow assignment operators in
returnstatements: warning in All ESLint core contexts -
no-self-assignDisallow assignments where both sides are exactly the same
: warning in All ESLint core contexts -
no-self-compareDisallow comparisons where both sides are exactly the same
: warning in All ESLint core contexts -
no-setter-returnDisallow returning values from setters
: warning in JavaScript source, React JavaScript source