S001¶
SchemasStandard
check for Schema of TypeList or TypeSet missing Elem
The S001 analyzer reports cases of TypeList or TypeSet schemas missing Elem,
which will fail schema validation.
Examples¶
Ignoring reports¶
Singular reports can be ignored by adding a //lintignore:S001 Go code comment at the end of the offending line or on the line immediately preceding, e.g.
This page is generated from passes/S001/README.md, which lives beside the analyzer.