Volt.JS.Check (Volt v0.19.4)

Copy Markdown View Source

Runs JavaScript/TypeScript formatting and lint checks.

Summary

Functions

check_formatting(files, opts \\ Volt.JS.Format.load_config())

lint(files, opts \\ [])

location(map)

@spec location(OXC.Diagnostic.t()) :: String.t() | nil

Formats a diagnostic's location as file:line:column, file, or nil without a file.

promote_type_check_diagnostic(diagnostic, opts)

type_check_diagnostic?(rule)