Excluding folders/files from vale #840
kellertuer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I. was wondering how to exclude certain folders or files from being
vale
d. My scenario is the following:I have a bunch of Julia (
.jl
), Markdown (.md
, documentation) and Quarto (.qmd
, Tutorials) files in my repository.In the beginning I only had the documentation under vale, before Julia started to be available.
My problem then was, that the Quarto files are actually rendered into the documentation and end up being Markdown files therein; though they are not under version control, since these are automatically generated (when generating the docs).
So the problem was now, that anything
vale
noticed was either.qmd
files), but then it is hard to fix, since line numbers might of course change when rendering Quarto files. (evaluation code and displaying its results in the markdown file).qmd
meant every error shows up twice.So I wanted to exclude a folder and did read somewhere here, that that is not possible.
Yesterday I found that one can just set the
BasedOnStyles
for that folder to nothing.This nicely excludes this folder of (automatically generated) files and I get only one error (in the
.qmd
files); I also do not have to run all quarto rendering to check whether my fix solved the error.Maybe this is helpful for someone.
Beta Was this translation helpful? Give feedback.
All reactions