Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-line ignoring of the following line #3637

Open
spetrosi opened this issue Feb 7, 2025 · 0 comments
Open

In-line ignoring of the following line #3637

spetrosi opened this issue Feb 7, 2025 · 0 comments

Comments

@spetrosi
Copy link

spetrosi commented Feb 7, 2025

Sometimes it is not convinient to write a codespell ignore comment on the line that I want to ignore.
Other linters allow for writing the ignoring comment above the to-ignored line.

So instead of doing this and as a result have a very long string:

                mode: "0644"
                regexp: "^(options|blacklist) {{ item }}"  # codespell:ignore blacklist

I want to be able to do this:

                mode: "0644"
                # codespell:ignore blacklist
                regexp: "^(options|blacklist) {{ item }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants