From 311fbd05dd106c42955ddccea57c9ca8e8f11ef7 Mon Sep 17 00:00:00 2001 From: Silo Server Developer Date: Thu, 28 May 2026 16:55:39 +0200 Subject: [PATCH] chore(lint): gofmt single-space alignment in root_inference.go var block When inferProviderTagRe was broadened to handle unsubstituted Sonarr token placeholders ({TvdbId}/{imdb-}), the regex grew long enough that gofmt prefers single-space rather than column-aligned spacing across the var block. Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/naming/root_inference.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/naming/root_inference.go b/internal/naming/root_inference.go index f383d725..f5db7672 100644 --- a/internal/naming/root_inference.go +++ b/internal/naming/root_inference.go @@ -21,7 +21,7 @@ var ( // Matches a well-formed tag ([tvdb-81189]), an unsubstituted Sonarr token // ([tvdb-{TvdbId}]), or an empty token ({imdb-}). The id part is either a // {...} placeholder or zero-or-more word chars. - inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`) + inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`) ) type RootAssignment struct {