We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Linux Homebrew vale 3.4.2
I'm testing a rule to detect GitHub case and suggest fixing it
Here is the rule
--- extends: substitution message: Use '%s' instead of '%s' level: warning ignorecase: true swap: 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](#whatever)
[GitHub](#whatever)
[github.](#whatever)
[GitHub.](#whatever)
github_test3.md
http://github.com bar [github](#whatever) [github1](#whatever) [github.](#whatever) https://jwodder.github.io/ http://github.com
The only difference is on last line whatever was replaced by http://github.com
Code reports differs:
https://jwodder.github.io/
Now let's change slightly
bar [github](#whatever) [github1](#whatever) [github.](#whatever) https://jwodder.github.io/ http://github.com
So the on first line github.com was removed
Code reports differs again and seems normal:
The text was updated successfully, but these errors were encountered:
Here are the files
github_test2.md github_test3.md github_test4.md GitHub.yml
Sorry, something went wrong.
No branches or pull requests
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: