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

Restrict component usage by configuration file #23

Closed
thanethomson opened this issue Sep 30, 2021 · 0 comments · Fixed by #26
Closed

Restrict component usage by configuration file #23

thanethomson opened this issue Sep 30, 2021 · 0 comments · Fixed by #26
Assignees
Labels
enhancement New feature or request

Comments

@thanethomson
Copy link
Contributor

At present we can freely entries for components that potentially don't exist (i.e. allowing for spelling mistakes, or even the use of components in projects where components are generally not used).

This should be restricted by way of the configuration file, so that an error is produced if:

  1. no components are defined and a user tries to add an entry for a component, or
  2. the user tries to add an entry for a component not defined in the configuration file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant