Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add as expected property to config
  • Loading branch information
nivekithan committed Sep 12, 2025
commit be9ec28034c53cd930d683ffbb014a3267790c90
4 changes: 4 additions & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ type Config struct {
Plugins []Plugin `json:"plugins" yaml:"plugins"`
Rules []Rule `json:"rules" yaml:"rules"`
Options map[string]yaml.Node `json:"options" yaml:"options"`

// expect `$schema` so that parsing a json file which contains `$schema` will not
// cause error
Schema string `json:"$schema,omitempty" yaml:"$schema,omitempty"`
}

type Server struct {
Expand Down
Loading