Skip to main content
This release is 3 versions behind 0.6.0 — the latest version of @eslint/core. Jump to latest

Built and signed on GitHub Actions

Runtime-agnostic core of ESLint.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 months ago (0.3.0)
I
BinarySourceCode

Represents the source of a binary file being linted.

I
CallTraversalStep

Represents a traversal step calling a function.

I
Directive

Represents a disable directive.

I
File

Represents a file read by ESLint.

I
FileError

Represents an error inside of a file.

I
FileProblem

Represents a problem found in a file.

I
Language

Represents a plugin language.

I
LanguageContext

The context object that is passed to the language plugin methods.

T
LanguageOptions

Plugin-defined options for the language.

I
LinterOptionsConfig

Represents the configuration options for the core linter.

I
NotOkParseResult

Represents the unsuccessful result of parsing a file.

I
OkParseResult

Represents the successful result of parsing a file.

T
ParseResult
No documentation available
I
Position

Represents a location coordinate inside the source. ESLint-style formatshave just line and column while others may have offset as well.

I
PositionWithOffset

Represents a location coordinate inside the source with an offset.

T
RuleConfig

The configuration for a rule.

I
RulesConfig

A collection of rules and their configurations.

T
SettingsConfig

Shared settings that are accessible from within plugins.

T
Severity

The severity of a rule in a configuration.

T
SeverityLevel

The numeric severity level for a rule.

T
SeverityName

The human readable severity level used in a configuration.

T
SourceCode
No documentation available
I
SourceLocation

Represents the start and end coordinates of a node inside the source.

I
SourceLocationWithOffset

Represents the start and end coordinates of a node inside the source with an offset.

T
SourceRange

Represents a range of characters in the source.

I
SyntaxElement

Represents an AST node or token with location information in ESLint format.

I
TextSourceCode

Represents the source of a text file being linted.

T
TraversalStep
No documentation available
I
VisitTraversalStep

Represents a traversal step visiting the AST.