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
It's been a while since we've looked into this one. Looking around, I found that ajv has another package that allows for adding custom error messages on schema failure: ajv-errors. Assuming it plays well with better-ajv-errors, I think this could solve our issue. My pull request for better-ajv-errors was merged to ensure that we can use both of them, so we can now add a custom message!
If an identifier contains disallowed characters, then the linter's message is:
This is wrong and misleading, and it would be much more helpful to say something like:
...even better if it could link to docs for allowed characters, but https://github.com/mdn/browser-compat-data/blob/master/schemas/compat-data-schema.md does not seem to document this.
The text was updated successfully, but these errors were encountered: