obsidian-linter icon indicating copy to clipboard operation
obsidian-linter copied to clipboard

FR: RegEx to ignore files

Open jvdevlab opened this issue 1 year ago • 0 comments

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

I use another plugin to generate Folder Notes with "_" prefix. I would like linter not to touch these files.

Describe the Solution You'd Like

Add regex pattern next to Folders to Ignore where we can specify a pattern for MD files to be ignored.

Describe Alternatives You've Considered

I need both plugins so not sure what could be the alternative.

Additional Context

Linter and zoottelkeeper conflict in multiple ways.

  1. zoottelkeeper adds special comment block inside which it will generate links. %% Zoottelkeeper: Beginning of the autogenerated index file list %% Note how there are 2 whitespaces before %%. When remove extra spaces rule is applied this block is modified.

  2. When Linter adds frontmatter (insert properties via whatever YAML rule), zoottelkeeper is confused and doesn't put extra space after --- resulting into broken MD file.

  3. When you do bulk linting with Linter and bulk reindexing with zoottelkeeper lots of files modified unnecessarily causing mess in git history and Sync versioning.

jvdevlab avatar Jan 26 '24 22:01 jvdevlab