Phase 1 of the btop-style Prometheus/Grafana TUI: - pkg/tui/render: exact-cell panel borders, ANSI-aware pad/truncate, block sparklines + multi-row area charts, gradient meters (ported from Pilot's dashboard, generalized to take theme styles) - pkg/tui/theme: pilot, tokyo-night, catppuccin-mocha palettes - pkg/tui/widget: Stat, Gauge, BarGauge, TimeSeries with threshold coloring, Grafana-style units, error/no-data states - cmd/grot: cobra CLI with 'demo' gallery command - Makefile, golangci config, MIT license
19 lines
264 B
YAML
19 lines
264 B
YAML
version: "2"
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- unused
|
|
settings:
|
|
staticcheck:
|
|
checks:
|
|
- "all"
|
|
- "-ST1000" # package comment
|
|
- "-ST1003" # variable naming
|