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