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

Surface custom ruleset issues in a more standard way #1283

Closed
nulltoken opened this issue Jul 14, 2020 · 2 comments
Closed

Surface custom ruleset issues in a more standard way #1283

nulltoken opened this issue Jul 14, 2020 · 2 comments

Comments

@nulltoken
Copy link
Contributor

Currently issues in custom rulesets are detected and reported. However, from a UX standpoint, it may make sense to surface them to the caller using the format that Spectral use for rules.

As such, issues in files and issues in custom rulesets would be reported in the same manner (The "source" would be the ruleset, the ranges would point at problems in the ruleset....).

Teaching Spectral to behave this way would make ruleset editing in VSCode (leveraging the vscode-spectral extension) a much more user friendly experience, for instance.

@nulltoken
Copy link
Contributor Author

As #1021 will implement a pre-validation step, making this issue happen may actually be an good starting point.

@philsturgeon
Copy link
Contributor

PRs exist for validation improvements. #2026

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

2 participants