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

Trigger an error if configuration is wrong #52

Open
jdeniau opened this issue Feb 7, 2023 · 0 comments
Open

Trigger an error if configuration is wrong #52

jdeniau opened this issue Feb 7, 2023 · 0 comments

Comments

@jdeniau
Copy link
Member

jdeniau commented Feb 7, 2023

If there is a configuration error we might want to validate the configuration with json schema and trigger a warning (or an error ?).

example of wrong configuration:

{
  "exclude": ['foo.js'], // typo ("exludes")
  "inexistant-key": "foo", // inexistant key ;)
  "command": 8 // unexpected number
}
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

1 participant