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

Allow only linting comments matching a pattern, e.g. //! and /// in rust instead of // #290

Open
ModProg opened this issue Nov 29, 2023 · 0 comments
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature

Comments

@ModProg
Copy link

ModProg commented Nov 29, 2023

Is your feature request related to a problem? Please describe.
I like to use ltex to spellcheck my documentation comments (they are markdown so something that generally plays nicely with ltex, especially after #238).
Normal comments // are much less important and often times are also used to comment out code, therefor I'd like to exclude them from linting.

Describe the solution you'd like
Have a setting to either, specify a custom regex for what to lint, or support a dedicated setting, i.e., check-doc-comments-only.

@ModProg ModProg added the 1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature
Projects
None yet
Development

No branches or pull requests

1 participant