OXC.Lint.TypeAware (OXC v0.15.1)

Copy Markdown View Source

Runs type-aware TypeScript lint rules through tsgolint headless mode.

Summary

Functions

Run tsgolint on a list of files.

Types

diagnostic()

@type diagnostic() :: OXC.Lint.diagnostic()

severity()

@type severity() :: OXC.Lint.severity()

Functions

run(files, opts \\ [])

@spec run(
  [String.t()],
  keyword()
) :: {:ok, [diagnostic()]} | {:error, [String.t()]}

Run tsgolint on a list of files.