Validate config file before using it · Issue #491 · htmlhint/HTMLHint · GitHub
Skip to content

Validate config file before using it #491

Open

Description

@Shinigami92

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


  • config must be validated and all invalid attributes must be discarded

Activity

  1. added
    enhancementFunctionality that enhances existing features
    keep-unstaleThe issue will not be marked as stale by the stale-bot
    on Jul 8, 2020
  2. self-assigned this
    on Jul 8, 2020
  3. Shinigami92 commented on Jul 8, 2020

    @Shinigami92
    ContributorAuthor

    This could be addressed after #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementFunctionality that enhances existing featureskeep-unstaleThe issue will not be marked as stale by the stale-bot

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions