Skip to content

Commit

Permalink
refactor: remove allowedScopes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Jan 10, 2025
1 parent eeaa7e3 commit c58806e
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions internal/check/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c58806e

Please sign in to comment.