Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
decolint
command
Command decolint lints devcontainer configuration files (devcontainer.json and friends).
|
Command decolint lints devcontainer configuration files (devcontainer.json and friends). |
|
docgen
command
Command docgen generates the documentation site's rule pages and landing page, and the README's category summary, from rules/*.go and README.md, so none of them has to be hand-kept in sync with the others.
|
Command docgen generates the documentation site's rule pages and landing page, and the README's category summary, from rules/*.go and README.md, so none of them has to be hand-kept in sync with the others. |
|
Package discovery locates the configuration files inside a devcontainer directory.
|
Package discovery locates the configuration files inside a devcontainer directory. |
|
Package dockerargs reads the parts of a devcontainer.json that Docker, rather than the devcontainer tooling, gives meaning to:
|
Package dockerargs reads the parts of a devcontainer.json that Docker, rather than the devcontainer tooling, gives meaning to: |
|
Package feature fetches Dev Container Features referenced by a devcontainer.json, along with the metadata carried by the "devcontainer.metadata" label of the image it names, and merges the properties they contribute into the parsed configuration, producing the effective configuration defined by the Dev Container specification's merge logic (see https://containers.dev/implementors/spec/#merge-logic).
|
Package feature fetches Dev Container Features referenced by a devcontainer.json, along with the metadata carried by the "devcontainer.metadata" label of the image it names, and merges the properties they contribute into the parsed configuration, producing the effective configuration defined by the Dev Container specification's merge logic (see https://containers.dev/implementors/spec/#merge-logic). |
|
Package format implements the output formats decolint can write a lint report in: human-readable text, a JSON object, GitHub Actions workflow command annotations, and a SARIF 2.1.0 log.
|
Package format implements the output formats decolint can write a lint report in: human-readable text, a JSON object, GitHub Actions workflow command annotations, and a SARIF 2.1.0 log. |
|
Package linter implements the decolint engine: it parses configuration files as HuJSON (JSONC), runs lint rules against the syntax tree, and filters findings suppressed by ignore comments.
|
Package linter implements the decolint engine: it parses configuration files as HuJSON (JSONC), runs lint rules against the syntax tree, and filters findings suppressed by ignore comments. |
|
Package ocitest provides test helpers for publishing Dev Container Features to an ephemeral, in-memory OCI registry, so tests across packages can exercise the Feature fetch and merge paths against real registry round-trips without a network dependency.
|
Package ocitest provides test helpers for publishing Dev Container Features to an ephemeral, in-memory OCI registry, so tests across packages can exercise the Feature fetch and merge paths against real registry round-trips without a network dependency. |
|
Package rules provides the built-in lint rules bundled with decolint.
|
Package rules provides the built-in lint rules bundled with decolint. |
|
Package substitute resolves the ${...} variables in a devcontainer.json at lint time, following the reference implementation (devcontainers/cli, src/spec-common/variableSubstitution.ts) with one deliberate divergence: a variable whose value the linter cannot know resolves to the empty string instead of being deferred to container creation, so no ${...} survives substitution.
|
Package substitute resolves the ${...} variables in a devcontainer.json at lint time, following the reference implementation (devcontainers/cli, src/spec-common/variableSubstitution.ts) with one deliberate divergence: a variable whose value the linter cannot know resolves to the empty string instead of being deferred to container creation, so no ${...} survives substitution. |
Click to show internal directories.
Click to hide internal directories.