-
Notifications
You must be signed in to change notification settings - Fork 88
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
FR: Ignore specific rules in "Folders to ignore" #1255
Comments
Hey @musjj , have you looked at the different ways of ignoring files and rules throughout a file (see here)? The options that I recall off of the top of my head are as follows:
|
Thank you! Adding this to my template's frontmatter fixes the issue: disabled rules:
- yaml-timestamp |
Wait never mind, this means that files generated from the template will have the rule disabled 🤔. Yeah, I don't think there's a perfect solution right now, but ignoring the entire folder is an ok workaround for now. The file will get formatted afterwards anyways. I think an option to ignore specific rules on each entry of "Folders to ignore" would be wonderful. |
date-modified
Is Your Feature Request Related to a Problem? Please Describe.
I have a template file like this:
I don't want the value replaced here, because it's just a template.
Describe the Solution You'd Like
Add an option to ignore specific rules in "Folders to ignore" or "Files to ignore".
Please include an example where applicable:
Describe Alternatives You've Considered
I guess an alternative would be to omit the field from the template and let the linter add it afterwards. But that feels like a hack.
The text was updated successfully, but these errors were encountered: