We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b3cb3 commit be9ec28Copy full SHA for be9ec28
1 file changed
internal/config/config.go
@@ -65,6 +65,10 @@ type Config struct {
65
Plugins []Plugin `json:"plugins" yaml:"plugins"`
66
Rules []Rule `json:"rules" yaml:"rules"`
67
Options map[string]yaml.Node `json:"options" yaml:"options"`
68
+
69
+ // expect `$schema` so that parsing a json file which contains `$schema` will not
70
+ // cause error
71
+ Schema string `json:"$schema,omitempty" yaml:"$schema,omitempty"`
72
}
73
74
type Server struct {
0 commit comments