Skip to content

API reference > @kontsedal/olas-eslint-plugin

olas-eslint-plugin package ​

Variables ​

Variable

Description

plugin

The plugin, the package's default export: rules, plus the recommended and strict flat configs. Each config registers the plugin under olas.

rules

Every rule the plugin ships, keyed by name. A flat config turns one on as'olas/<name>'.

Type Aliases ​

Type Alias

Description

OlasEslintPlugin

The plugin, typed with ESLint's own types so an eslint.config.ts that usesdefineConfig or Linter.Config[] accepts the configs as they are. The rule modules are built with @typescript-eslint/utils, whose types ESLint's do not accept, so they are cast at this one boundary.

Released under the MIT License.