fixer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fixer

type Fixer struct {
	// contains filtered or unexported fields
}

Fixer applies fixes to configuration files

func New

func New(opts Options, u *ui.UI) *Fixer

New creates a new Fixer

func (*Fixer) AIFix

func (f *Fixer) AIFix(issue rules.Issue) (*rules.Fix, error)

AIFix generates an AI-assisted fix using Claude

func (*Fixer) ApplyFix

func (f *Fixer) ApplyFix(issue rules.Issue) error

ApplyFix applies a fix for an issue

type Options

type Options struct {
	DryRun     bool
	AIAssisted bool
}

Options configures the fixer behavior

Jump to

Keyboard shortcuts

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