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

Deprecated option used in docs #26

Closed
jdillard opened this issue Feb 13, 2023 · 2 comments
Closed

Deprecated option used in docs #26

jdillard opened this issue Feb 13, 2023 · 2 comments

Comments

@jdillard
Copy link
Contributor

code is used in the Existence example, but has since been deprecated.

@cadamini
Copy link

cadamini commented May 6, 2023

Would love to fix that but just started learning/using Vale. Unfortunately, I haven't found the ref to the deprecation yet.

In https://studio.vale.sh, the example leads to:

[2.25.2] [4:1]: has invalid keys: 'code'

The example in the docs works without the code key:

extends: existence
message: Consider removing '%s'
level: warning
ignorecase: true
tokens:
    - appears to be
    - arguably

The tokens are recognized, the rule editor shows [2.25.2] Syntax OK; rule successfully compiled.

Is this paragraph in the docs related?

@jdkato jdkato closed this as completed May 14, 2023
@cadamini
Copy link

Fixed by f806872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants