Validate config file before using it
Open
@Shinigami92 is already working on this.
Since Jul 8, 2020.
enhancement
keep-unstale
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 474
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
Is your feature request related to a problem? Please describe.
The configuration file created by the user must be validated to suppress undesirable behavior
Describe the solution you'd like
Introduce a validation function that analyzes/validates the content of the file and returns only the valid configuration object
All invalid attributes are discarded
Additional context
While working on #489 several problems were found and some TODOs were added
configmust be validated and all invalid attributes must be discarded
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.