platers / obsidian-linter

An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
https://platers.github.io/obsidian-linter/
MIT License
1.19k stars 80 forks source link

Button to exclude file/folder from Linter #1106

Open cybersader opened 3 months ago

cybersader commented 3 months ago

Is Your Feature Request Related to a Problem? Please Describe.

I don't want to manually enter in a folder everytime I need to ignore YAML. It would be much better to have an automatic (exclude from Linter) button

Describe the Solution You'd Like

I want to be able to right click a file or folder and exclude from the Linter.

pjkaufman commented 3 months ago

Hey @cybersader . Could you elaborate a little on this functionality? It looks like you are saying that you want the ability to add folders and files to the ignore list from the context menu from a right click. But I see that you are trying to ignore YAML. Would this be an entire file or folder ignore or were you intending for more of a list of rules that would be ignored? The workload is quite different between these two options, so I thought I would go ahead and ask.

cybersader commented 2 months ago

From what I remember, this was to simply add said file/folder to the exclusion list that is found in the YAML settings for Linter. The more granularity, the better though 😃.