Directories
¶
| Path | Synopsis |
|---|---|
|
Package casing is the single definition of the naming conventions that the casing rules enforce: the Casing enum, its parser, one implementation of "does this name follow that convention" and a converter that proposes the correctly cased name.
|
Package casing is the single definition of the naming conventions that the casing rules enforce: the Casing enum, its parser, one implementation of "does this name follow that convention" and a converter that proposes the correctly cased name. |
|
Package cli implements the vacuum-extra command: a small, statically linked linter that runs vacuum's engine with every rule of the catalogue registered in-process, so no Go plugin has to be built or matched to a vacuum version.
|
Package cli implements the vacuum-extra command: a small, statically linked linter that runs vacuum's engine with every rule of the catalogue registered in-process, so no Go plugin has to be built or matched to a vacuum version. |
|
Package formats holds the knowledge about string formats that the rules demanding string constraints share.
|
Package formats holds the knowledge about string formats that the rules demanding string constraints share. |
|
gen
|
|
|
rulesetgen
command
Command rulesetgen writes ruleset.yaml, the vacuum ruleset that lists every rule of the catalogue.
|
Command rulesetgen writes ruleset.yaml, the vacuum ruleset that lists every rule of the catalogue. |
|
Package oas holds the small, dependency-light helpers that the rules use to read an OpenAPI document as raw YAML nodes: safe accessors, JSONPath building, local $ref resolution and iterators over operations, parameters and schemas.
|
Package oas holds the small, dependency-light helpers that the rules use to read an OpenAPI document as raw YAML nodes: safe accessors, JSONPath building, local $ref resolution and iterators over operations, parameters and schemas. |
|
Package ruleset renders the vacuum ruleset file that lists every rule of the catalogue.
|
Package ruleset renders the vacuum ruleset file that lists every rule of the catalogue. |
|
Package ruletest runs one rule of the extra ruleset through the real vacuum engine, so unit tests exercise exactly what a user's `vacuum lint` would.
|
Package ruletest runs one rule of the extra ruleset through the real vacuum engine, so unit tests exercise exactly what a user's `vacuum lint` would. |
|
Package seq holds small, pure helpers over iterators and slices: mapping, filtering, flattening, grouping and de-duplicating without the caller holding any mutable state.
|
Package seq holds small, pure helpers over iterators and slices: mapping, filtering, flattening, grouping and de-duplicating without the caller holding any mutable state. |
Click to show internal directories.
Click to hide internal directories.