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.24k stars 82 forks source link

Fix ITs Not Running Properly and `'` and `-` Being Considered to be Words and Letters #1151

Closed pjkaufman closed 2 months ago

pjkaufman commented 2 months ago

Fixes #1148

There was an issue with the Integration tests not running in order all of the time. This was caused by the recent change to loading files in for custom auto-correct files. Fixed it by awaiting the function called in the ITs.

There was also an issue with headers capitalization where ' and - by themselves would be considered words and would cause other issues with capitalization. Checking for these two cases seems to fix the issue.