ESLint core
110 rules oxlint@1.95.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
: error in All ESLint core contexts -
constructor-superRequire
super()calls in constructors: error 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: error in All ESLint core contexts -
getter-returnEnforce
returnstatements in getters: error in JavaScript source, React JavaScript source -
logical-assignment-operatorsRequire or disallow logical assignment operator shorthand
: error 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, Next.js app source, Next.js pages source, Syntax-only tool configuration, Design-system React source -
no-case-declarationsDisallow lexical declarations in case clauses
: error in All ESLint core contexts -
no-class-assignDisallow reassigning class members
: error in JavaScript source, React JavaScript source -
no-compare-neg-zeroDisallow comparing against
-0: error in All ESLint core contexts -
no-cond-assignDisallow assignment operators in conditional expressions
: error 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: error 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
: error in All ESLint core contexts -
no-constructor-returnDisallow returning value from constructor
: error in All ESLint core contexts -
no-control-regexDisallow control characters in regular expressions
: error in All ESLint core contexts -
no-debuggerDisallow the use of
debugger: error in All ESLint core contexts -
no-delete-varDisallow deleting variables
: error in All ESLint core contexts -
no-dupe-class-membersDisallow duplicate class members
: error in JavaScript source, React JavaScript source -
no-dupe-else-ifDisallow duplicate conditions in if-else-if chains
: error in All ESLint core contexts -
no-dupe-keysDisallow duplicate keys in object literals
: error in JavaScript source, React JavaScript source -
no-duplicate-caseDisallow duplicate case labels
: error in All ESLint core contexts -
no-else-returnDisallow
elseblocks afterreturnstatements inifstatements: warning in All ESLint core contexts -
no-emptyDisallow empty block statements
: error in All ESLint core contexts -
no-empty-character-classDisallow empty character classes in regular expressions
: error in All ESLint core contexts -
no-empty-functionDisallow empty functions
: error in All ESLint core contexts -
no-empty-patternDisallow empty destructuring patterns
: error in All ESLint core contexts