tsc

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package tsc wraps `<pm exec> tsc --noEmit --pretty false`. The line format is stable across TS 4.x/5.x: `path.ts(LINE,COL): error TSNNNN: message`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTscOutput

func ParseTscOutput(out []byte) []domain.Finding

ParseTscOutput reads tsc stderr/stdout and returns one Finding per error/ warning line. Non-matching lines (progress noise, `# path` cascades) are silently skipped.

Types

type Gate

type Gate struct{}

func (Gate) LineScoped

func (Gate) LineScoped() bool

func (Gate) Name

func (Gate) Name() string

func (Gate) Run

func (Gate) Run(ctx context.Context, root string) (domain.GateResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL