Skip to content
New issue

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

[BUG]Adjust Vale rules to ignore links #752

Open
Naarcha-AWS opened this issue Dec 21, 2024 · 1 comment
Open

[BUG]Adjust Vale rules to ignore links #752

Naarcha-AWS opened this issue Dec 21, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Naarcha-AWS
Copy link
Contributor

What is the bug?

Vale currently interprets words with in hyperlinks and creates errors based on the strings inside.

How can one reproduce the bug?

See the Style check in #751

What is the expected behavior?

Vale does not throw errors for strings in links.

@Naarcha-AWS Naarcha-AWS added bug Something isn't working untriaged labels Dec 21, 2024
@dblock dblock added help wanted Extra attention is needed and removed untriaged labels Dec 21, 2024
@dblock
Copy link
Member

dblock commented Dec 21, 2024

If anyone wants to write a little bit of code this one is easy: we have a piece of code that strips everything from the spec except words in https://github.com/opensearch-project/opensearch-api-specification/tree/main/tools/src/prepare-for-vale, it also needs to remove markdown links and only leave their text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants