thinking today about how much I love Shellcheck's explainer pages for its linter failures https://www.shellcheck.net/wiki/SC2173
every page has:
- problematic code
- correct code
- rationale
- exceptions
thinking today about how much I love Shellcheck's explainer pages for its linter failures https://www.shellcheck.net/wiki/SC2173
every page has:
- problematic code
- correct code
- rationale
- exceptions
@b0rk reminds me of that classic format for giving feedback: stop/start/continue.
Stop: things you currently do, but are better to avoid.
Start: missed opportunities, try to leverage them. New ideas.
Continue: the stuff you're doing now which is great, please keep going!
I always liked my managers who used this.
@b0rk I built Regal on similar principles 🙂 https://github.com/StyraInc/regal
My inspiration was mostly Hadolint though. I guess there are a few doing this.
@b0rk semgrep’s playground is quite nice for that. Most rules have tests for matches and non-matches.
https://semgrep.dev/playground/r/bash.lang.best-practice.useless-cat.useless-cat