buildkit/ExposeProtoCasing¶
Protocol names in EXPOSE instructions should be lowercase.
| Property | Value |
|---|---|
| Severity | Warning |
| Category | Style |
| Default | Enabled |
| Auto-fix | Yes (--fix) |
Description¶
Protocol names in the EXPOSE instruction should be specified in lowercase to
maintain consistency and readability.
Examples¶
Bad:
Good:
Auto-fix¶
The fix lowercases the protocol in EXPOSE port specs.