prettier

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package prettier wraps `<pm> exec prettier --check --list-different .`. Same shape as the gofumpt gate: line-per-file whole-file marker at line 0.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFileList

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

ParseFileList reads the newline-separated file list from `prettier --list-different .` and emits one Finding per file at line 0 (whole-file marker — matches the gofumpt gate).

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