-
Notifications
You must be signed in to change notification settings - Fork 13
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
lint embedded code #19
Comments
There isn't a built-in way to do this, but there are several ways it could be done. The fastest way to get something working would be to extract the code from the markdown via regex and then lint it, keeping track of line numbers between markdown and extracted code for tracing back line numbers. You could take the Here's another option that may be more interesting, but would also involve a bit more work and thus could take longer to get going. |
That looks promising. I will test the |
I currently have separated doc linted with markdown-lint and scripts linted with shellcheck. I would like to merge the 2 to avoid doc maintenance.
Is there a way to run
shellcheck
withcodebraid
to lint the embedded code and not break the execution afterward ?Thanks.
The text was updated successfully, but these errors were encountered: