ESLint core
110 rules oxlint@1.95.0
Complete effective rule inventory.
Rules
No enabled ESLint core rules match this search.
-
no-self-compareDisallow comparisons where both sides are exactly the same
: error in All ESLint core contexts -
no-setter-returnDisallow returning values from setters
: error in JavaScript source, React JavaScript source -
no-shadowDisallow variable declarations from shadowing variables declared in the outer scope
: error in All ESLint core contexts -
no-shadow-restricted-namesDisallow identifiers from shadowing restricted names
: error in All ESLint core contexts -
no-sparse-arraysDisallow sparse arrays
: error in All ESLint core contexts -
no-template-curly-in-stringDisallow template literal placeholder syntax in regular strings
: error in All ESLint core contexts -
no-this-before-superDisallow
this/superbefore callingsuper()in constructors: error in JavaScript source, React JavaScript source -
no-unassigned-varsDisallow
letorvarvariables that are read but never assigned: error in All ESLint core contexts -
no-undefDisallow the use of undeclared variables unless mentioned in
/*global */comments: error in JavaScript source, React JavaScript source -
no-unexpected-multilineDisallow confusing multiline expressions
: error in All ESLint core contexts -
no-unmodified-loop-conditionDisallow unmodified loop conditions
: error in All ESLint core contexts -
no-unneeded-ternaryDisallow ternary operators when simpler alternatives exist
: warning in All ESLint core contexts -
no-unreachableDisallow unreachable code after
return,throw,continue, andbreakstatements: error in JavaScript source, React JavaScript source -
no-unreachable-loopDisallow loops with a body that allows only one iteration
: error in All ESLint core contexts -
no-unsafe-finallyDisallow control flow statements in
finallyblocks: error in All ESLint core contexts -
no-unsafe-negationDisallow negating the left operand of relational operators
: error in JavaScript source, React JavaScript source -
no-unsafe-optional-chainingDisallow use of optional chaining in contexts where the
undefinedvalue is not allowed: error in All ESLint core contexts -
no-unused-expressionsDisallow unused expressions
: error in All ESLint core contexts -
no-unused-labelsDisallow unused labels
: error in All ESLint core contexts -
no-unused-private-class-membersDisallow unused private class members
: error in All ESLint core contexts -
no-unused-varsDisallow unused variables
: error in All ESLint core contexts -
no-useless-assignmentDisallow variable assignments when the value is not used
: error in All ESLint core contexts -
no-useless-backreferenceDisallow useless backreferences in regular expressions
: error in All ESLint core contexts -
no-useless-catchDisallow unnecessary
catchclauses: error in All ESLint core contexts -
no-useless-computed-keyDisallow unnecessary computed property keys in objects and classes
: error in All ESLint core contexts -
no-useless-concatDisallow useless concatenation of literals.
: error in All ESLint core contexts -
no-useless-constructorDisallow unnecessary constructors
: error in All ESLint core contexts -
no-useless-escapeDisallow unnecessary escape characters
: error in All ESLint core contexts -
no-useless-renameDisallow renaming import, export, and destructured assignments to the same name
: error in All ESLint core contexts -
no-useless-returnDisallow redundant return statements
: error in All ESLint core contexts -
no-varRequire
letorconstinstead ofvar: error in All ESLint core contexts -
no-withDisallow
withstatements: error in JavaScript source, React JavaScript source