Support disabling comments on the next line #1847
Replies: 1 comment 1 reply
|
Hi @paddyroddy, thanks for opening a discussion. I'm pretty hesitant to add a "next line" ignore feature because it's architecturally complicated/doesn't mesh well with how zizmor "sees" the files it analyzes (it's not so much "line-aware" as "span-aware", so line-jumping is relatively inefficient and awkward). With that said, I think the (unreleased) changes in #1759 will also help you here -- you'll be able to configure
Could you say a bit more about this? zizmor does support this, in the sense that trailing data is explicitly ignored, e.g. |
Uh oh!
There was an error while loading. Please reload this page.
It would be good to be able to support comments in the standard inline
# zizmor: ignore[]as well as something like# zizmor: ignore-next-line[]. Akin to something thatmarkdownlintdoes https://github.com/davidanson/markdownlint#configuration.I am currently trying to suppress the
SAFE_SETTINGS_GITHUB_CLIENT_SECRETsecret here without the line getting really long.All reactions