moby/libcontainerd/remote
Sebastiaan van Stijn 4f08346686
fix formatting of "nolint" tags for go1.19
The correct formatting for machine-readable comments is;

    //<some alphanumeric identifier>:<options>[,<option>...][ // comment]

Which basically means:

- MUST NOT have a space before `<identifier>` (e.g. `nolint`)
- Identified MUST be alphanumeric
- MUST be followed by a colon
- MUST be followed by at least one `<option>`
- Optionally additional `<options>` (comma-separated)
- Optionally followed by a comment

Any other format will not be considered a machine-readable comment by `gofmt`,
and thus formatted as a regular comment. Note that this also means that a
`//nolint` (without anything after it) is considered invalid, same for `//#nosec`
(starts with a `#`).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-13 22:31:53 +02:00
..
client.go fix formatting of "nolint" tags for go1.19 2022-07-13 22:31:53 +02:00
client_io_windows.go Windows: Experimental: Allow containerd for runtime 2019-03-12 18:41:55 -07:00
client_linux.go Configure shims from runtime config 2020-07-13 14:18:02 -07:00
client_windows.go libcontainerd: remove LCOW bits 2021-06-09 22:05:10 +02:00