replicatedhq / dockerfilelint

An opinionated Dockerfile linter.
https://www.fromlatest.io
MIT License
979 stars 84 forks source link

Feature Request: Add Rule for EOF return #193

Open cynicaljoy opened 2 years ago

cynicaljoy commented 2 years ago

This is a nitpicky thing and mostly inspired by not wanting to see the 🚫 within PRs on GitHub. It would be great to have a check to make sure that there is a single (multiple returns would fail the check) return at the end of files.

It should have a rule associated with it so that people who aren't annoyed by the icon can skip the check 😂