You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing a rule to detect GitHub case and suggest fixing it
Here is the rule
---
extends: substitutionmessage: Use '%s' instead of '%s'level: warningignorecase: trueswap:
GitHub: GitHub
Here is a test file:
github_test2.md
http://github.com bar
[github](#whatever)[github1](#whatever)[github.](#whatever)https://jwodder.github.io/http://github.com
whatever
Code reports
github.com bar because he wants www.GitHub.com (not convenient but not related to my bug)
[github](#whatever) as it should be [GitHub](#whatever) ✔️
[github.](#whatever) as it should be [GitHub.](#whatever) ✔️
github_test3.md
http://github.com bar
[github](#whatever)[github1](#whatever)[github.](#whatever)https://jwodder.github.io/http://github.com
Check for existing issues
Environment
Linux
Homebrew
vale 3.4.2
Describe the bug / provide steps to reproduce it
I'm testing a rule to detect GitHub case and suggest fixing it
Here is the rule
Here is a test file:
github_test2.md
Code reports
[github](#whatever)
as it should be[GitHub](#whatever)
✔️[github.](#whatever)
as it should be[GitHub.](#whatever)
✔️github_test3.md
The only difference is on last line whatever was replaced by http://github.com
Code reports differs:
[github](#whatever)
is reported as it should be[GitHub](#whatever)
✔️[github.](#whatever)
is no longer reported 🤔 🐛https://jwodder.github.io/
is reported as invalid 🤔 🐛Now let's change slightly
So the on first line github.com was removed
Code reports differs again and seems normal:
[github](#whatever)
is reported as it should be[GitHub](#whatever)
✔️[github.](#whatever)
as it should be[GitHub.](#whatever)
✔️https://jwodder.github.io/
is no longer reported as invalid 🤔 but it's what I would have expectedThe text was updated successfully, but these errors were encountered: