ErrLookup › oxc-project/oxc

oxc-project/oxc

⚓ A collection of high-performance JavaScript tools. · Rust · 3,101 source files

Analyzed at 12cb547351 on 2026-09-20. 1104 documented errors.

Code / MessageTypeSeverityTags
Do not use `instanceof` with built-in constructors
validation warning cross-realm, typeof, builtin-objects, type-checking, oxlint
Do not use useless `undefined`.
validation warning lint, oxlint, unicorn, undefined, dead-code, pedantic, typescript
Component definition is missing display name.
validation warning react, jsx, lint, devtools, debugging, oxlint
`button` elements must have a valid `type` attribute.
validation warning react, jsx, html, lint, forms, oxlint
`nextTick` is a function.
validation error vue, nexttick, async, lint, autofix
Namespace not marked type-only declare are disabled. To…
validation warning oxc, typescript, transformer, namespaces, config
`defineOptions` is referencing locally declared variables.
validation error vue, script-setup, compiler-macro, defineoptions, lint
Expecting object for eslint/no-magic-numbers configuration
validation error lint, configuration, oxlintrc, json, schema-validation
Avoid using promises inside of callbacks.
validation warning promise, async, callback, lint, oxlint
`checked` should be used with either `onChange` or…
validation warning react, jsx, lint, controlled-components, forms, oxlint
Pass a message to the
validation warning oxlint, lint, unicorn, errors, debugging
Dependency cycle detected
validation error lint, oxlint, imports, circular-dependency, module-graph, architecture
` ` accepts an iterable, `.toArray()` is unnecessary.
validation warning lint, oxlint, unicorn, iterator-helpers, iterable, performance, nursery
`button` elements must have an explicit `type` attribute.
validation warning react, jsx, html, lint, forms, oxlint
has been deprecated in favor of
console warning lint, jest, deprecated-api, testing, oxlint, autofix
' ' is not modified in this loop.
validation error eslint, oxlint, no-unmodified-loop-condition, loops, infinite-loop, control-flow
' ' is a reserved attribute and cannot be used as props.
validation error vue, props, lint, reserved-names, template
Ambient modules cannot be nested in other modules or…
validation warning oxc, typescript, transformer, ambient-modules, declaration-files, ts2664
Invalid handler prop name
validation warning react, jsx, naming-convention, event-handler, props, oxlint, lint
Please provide an explicit key value. Using \"key\" as a…
validation warning oxc, jsx, react, key, transformer
Using polyfill.io is a security risk due to a supply chain…
validation critical nextjs, security, supply-chain, polyfill, jsx, oxlint
Promise should not be resolved multiple times. Promise is…
validation warning promise, async, lint, control-flow, oxlint
Promise constructor parameters must be named to match
validation warning promise, async, lint, naming-convention, oxlint
Prop " " should be optional.
validation warning vue, props, lint, options-api, script-setup
Avoid using non-standard `Promise.
validation warning promise, async, lint, portability, oxlint
Missing padding before
validation warning jest, style, formatting, lint, autofix
Using a spread operator here creates a new
validation warning lint, oxlint, unicorn, spread, shallow-clone, redundant-copy, correctness
Function ` ` does not capture any variables from its parent…
validation warning oxlint, lint, unicorn, scoping, functions, performance
Duplicate key ' '. May cause name collision in script or…
validation warning vue, duplicate-key, lint, naming, options-api, script-setup
`expect` must be inside of a test block.
validation warning jest, vitest, oxlint, testing, assertions, static-analysis
Unexpected constant relational comparison
validation warning lint, relational-operator, constant-folding, dead-code, oxlint
function and catch parameter scopes always have a parent
panic error rust, panic, internal-invariant, scope-resolution, oxc-semantic
Expected method to have this.
validation warning eslint, oxlint, class, static-method, style
Unexpected constant condition
validation warning lint, dead-code, condition, infinite-loop, oxlint
Module has named export
console warning lint, oxlint, imports, default-export, named-export, confusion, suspicious
Fragments should contain more than one child.
validation warning react, jsx, fragment, dead-code, autofix, oxlint, lint
' ' is not defined.
validation error react, jsx, undefined-variable, imports, globals, oxlint, lint
Top-level await is not available in the configured target…
validation warning oxc, transformer, top-level-await, browserslist, targets, es2022
' .
validation warning eslint, oxlint, curly, braces, style
Do not use `document.cookie` directly.
validation warning browser, dom, cookies, web-api, oxlint
Prefer ` ` over ` ` to check .
validation warning oxlint, lint, unicorn, arrays, style, comparison
State initialization should be in a constructor
validation error
Unexpected constant on the left-hand side of a expression
validation error lint, dead-code, operator-precedence, logical-expression, oxlint
Expected a `const` assertion instead of a literal type…
validation error
Tried to get an allocator from an empty…
panic warning vue, oxlint, lint, sfc, export, style, definecomponent
Unexpected side effect in
validation warning vue, computed, lint, side-effects, options-api
' ' is already a global variable.
validation warning eslint, oxlint, no-shadow, scope, globals, static-analysis
Expected and instead saw
validation warning eslint, oxlint, equality, strict-equality, autofix
Unexpected constant binary expression
validation error lint, dead-code, equality, truthiness, oxlint
Invalid escape sequence in template literal.
validation warning oxlint, lint, unicorn, template-literals, escaping, style
The `name` property should be set to
validation warning oxlint, lint, unicorn, errors, classes, naming
Unexpected dangling '_' in
validation info eslint, oxlint, no-underscore-dangle, style, naming-convention, identifiers
`defineOptions()` cannot be used to declare
validation error vue, script-setup, compiler-macro, defineoptions, defineprops, defineemits, lint
Expected return with your callback function.
validation warning node, callback, control-flow, style, oxlint
Promise should not be resolved multiple times. Promise is…
validation warning promise, async, lint, control-flow, oxlint
Invalid class name, use
validation warning oxlint, lint, unicorn, errors, naming, classes
Unexpected named .
validation warning eslint, oxlint, naming, function-expression, anonymous-function
React Hook has missing dependencies
validation error
Await the Promise returned by `nextTick` or pass a callback…
validation error vue, nexttick, async, promise, lint
Big integer literals are not available in the configured…
validation error oxc, transformer, es2020, bigint, compile-target
The update clause in this loop moves the variable in the…
validation error eslint, oxlint, for-loop, infinite-loop, bug
Unsafe lifecycle method
validation error
Either await the Promise or pass a callback function to…
validation error vue, nexttick, async, promise, lint, redundant
TS1202
Import assignment cannot be used when targeting ECMAScript modules.
error_code error oxc, typescript, transformer, esm, commonjs, ts1202
Unexpected comparison to newly constructed object
validation error lint, reference-equality, object-comparison, dead-code, oxlint
Missing JSDoc `@param` name.
validation error
Prefer `async`/`await` to the callback pattern
validation warning promise, async-await, callbacks, oxlint, lint, style
`Promise. ()` requires 1 argument, but received .
validation error promise, async, lint, arguments, oxlint
Empty files are not allowed.
validation info files, code-hygiene, oxlint
Fast refresh can't handle anonymous components. Add a name…
validation error
Namespace tags are not supported by default. React's JSX…
validation warning oxc, jsx, react, namespace, transformer
`Iterator` has a `. ()` method, `.toArray()` is unnecessary.
validation warning lint, oxlint, unicorn, iterator-helpers, array-methods, nursery
Invalid handler name
validation warning react, jsx, naming-convention, event-handler, oxlint, lint
` ` accepts an iterable, so it's unnecessary to convert the…
validation warning lint, oxlint, unicorn, spread, iterable, promise, set, map, correctness
Property should be declared as a class property.
validation error
Expected throw instead of Promise.reject
validation warning promise, async, lint, error-handling, oxlint
has a complexity of . Maximum allowed is .
validation warning eslint, oxlint, complexity, maintainability
These overloads can be combined into one signature with a…
validation warning oxlint, lint, typescript, overloads, rest-parameter, style
Bad bitwise operator
validation warning oxc, operators, bitwise, logic, typo, oxlint
Empty fallbacks in spreads are unnecessary
validation warning lint, oxlint, unicorn, spread, object-literal, dead-code, correctness
A constructor name should not start with a lowercase letter.
validation warning eslint, oxlint, style, naming, constructor, new-cap
Name " " is reserved.
validation warning vue, naming, lint, reserved-names, components
Avoid calls to the `Array` constructor
validation warning eslint, oxlint, style, arrays, best-practice, autofix
Bad comparison sequence
validation error oxc, javascript, operators, comparison, logic-bug, oxlint
Suggest using `jest.spyOn()` or `vi.spyOn()`.
validation warning jest, vitest, oxlint, testing, mocks, spies, autofix, static-analysis
Bad handler name
validation warning react, jsx, naming-convention, event-handler, arrow-function, oxlint, lint
Prefer `.at()` over ` `.
validation warning oxlint, unicorn, es2022, arrays, strings, dangerous-fix
Prop " " is forbidden on Components
validation error
These overloads can be combined into one signature with an…
validation warning oxlint, lint, typescript, overloads, optional-parameters, style
A function with a name starting with an uppercase letter…
validation warning eslint, oxlint, style, naming, constructor, new-cap
Prop " " with value " " is forbidden on DOM Nodes
validation error
Invalid `removeEventListener` call.
validation error events, dom, memory-leak, bug, oxlint
Top-level `await` prevents this module from being loaded…
validation warning node, esm, commonjs, async, packaging, oxlint
Namespaces exporting non-const are not supported by Oxc…
validation warning oxc, typescript, transformer, namespaces, babel-compat
also has a named export
console error lint, oxlint, imports, default-export, named-export, runtime-bug, undefined, suspicious
Unknown property found
validation error
Express endpoint handler for
validation error express, async, unhandled-rejection, oxlint, error-handling, server
' ' is not a valid ARIA attribute.
validation warning jsx-a11y, aria, accessibility, typo, oxlint, lint
Disallow string literals on restricted JSX attributes
validation warning react, jsx, i18n, accessibility, aria, string-literals, restriction, oxlint, lint
`style` prop value must be an object.
validation error