ESLint core
104 rules oxlint@1.91.0
Complete effective rule inventory.
Rules
No enabled ESLint core rules match this search.
-
array-callback-returnEnforce
returnstatements in callbacks of array methods: error in All ESLint core contexts -
arrow-body-styleRequire braces around arrow function bodies
: warning in All ESLint core contexts -
constructor-superRequire
super()calls in constructors: warning in JavaScript source, React JavaScript source -
default-param-lastEnforce default parameters to be last
: error in All ESLint core contexts -
eqeqeqRequire the use of
===and!==: error in All ESLint core contexts -
for-directionEnforce
forloop update clause moving the counter in the right direction: warning in All ESLint core contexts -
getter-returnEnforce
returnstatements in getters: warning in JavaScript source, React JavaScript source -
logical-assignment-operatorsRequire or disallow logical assignment operator shorthand
: warning in All ESLint core contexts -
no-array-constructorDisallow generic
Arrayconstructors: error in All ESLint core contexts -
no-async-promise-executorDisallow using an async function as a Promise executor
: error in All ESLint core contexts -
no-await-in-loopDisallow
awaitinside of loops: error in TypeScript source, React source, JavaScript source, React JavaScript source, Syntax-only tool configuration, Design-system React source -
no-case-declarationsDisallow lexical declarations in case clauses
: warning in All ESLint core contexts -
no-class-assignDisallow reassigning class members
: warning in JavaScript source, React JavaScript source -
no-compare-neg-zeroDisallow comparing against
-0: warning in All ESLint core contexts -
no-cond-assignDisallow assignment operators in conditional expressions
: warning in All ESLint core contexts -
no-consoleDisallow the use of
console: error in All ESLint core contexts -
no-const-assignDisallow reassigning
const,using, andawait usingvariables: warning in JavaScript source, React JavaScript source -
no-constant-binary-expressionDisallow expressions where the operation doesn't affect the value
: error in All ESLint core contexts -
no-constant-conditionDisallow constant expressions in conditions
: warning in All ESLint core contexts -
no-constructor-returnDisallow returning value from constructor
: warning in All ESLint core contexts -
no-control-regexDisallow control characters in regular expressions
: warning in All ESLint core contexts -
no-debuggerDisallow the use of
debugger: warning in All ESLint core contexts -
no-delete-varDisallow deleting variables
: warning in All ESLint core contexts -
no-dupe-class-membersDisallow duplicate class members
: warning in JavaScript source, React JavaScript source -
no-dupe-else-ifDisallow duplicate conditions in if-else-if chains
: warning in All ESLint core contexts -
no-dupe-keysDisallow duplicate keys in object literals
: warning in JavaScript source, React JavaScript source -
no-duplicate-caseDisallow duplicate case labels
: warning in All ESLint core contexts -
no-emptyDisallow empty block statements
: warning in All ESLint core contexts -
no-empty-character-classDisallow empty character classes in regular expressions
: warning in All ESLint core contexts -
no-empty-functionDisallow empty functions
: error in All ESLint core contexts -
no-empty-patternDisallow empty destructuring patterns
: warning in All ESLint core contexts -
no-empty-static-blockDisallow empty static blocks
: warning in All ESLint core contexts