From c58806ed505145f688a3e129824b6cd5274c0fec Mon Sep 17 00:00:00 2001 From: Joseph Kato Date: Thu, 9 Jan 2025 16:53:14 -0800 Subject: [PATCH] refactor: remove `allowedScopes` --- internal/check/scope.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/internal/check/scope.go b/internal/check/scope.go index 81e6606d..1c55f6fa 100644 --- a/internal/check/scope.go +++ b/internal/check/scope.go @@ -7,30 +7,6 @@ import ( "github.com/errata-ai/vale/v3/internal/nlp" ) -var allowedScopes = []string{ - "text", - "heading", - "heading.h1", - "heading.h2", - "heading.h3", - "heading.h4", - "heading.h5", - "heading.h6", - "table", - "table.header", - "table.cell", - "table.caption", - "figure.caption", - "list", - "paragraph", - "sentence", - "alt", - "title", - "blockquote", - "summary", - "raw", -} - // A Selector represents a named section of text. type Selector struct { Value []string // e.g., text.comment.line.py