-
-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Labels
enhancementFunctionality that enhances existing featuresFunctionality that enhances existing featureskeep-unstaleThe issue will not be marked as stale by the stale-botThe issue will not be marked as stale by the stale-bot
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
Line 402 in 1f1f448
| ruleset = JSON.parse(stripJsonComments(config)) |
configmust be validated and all invalid attributes must be discarded
Spixmaster
Metadata
Metadata
Assignees
Labels
enhancementFunctionality that enhances existing featuresFunctionality that enhances existing featureskeep-unstaleThe issue will not be marked as stale by the stale-botThe issue will not be marked as stale by the stale-bot