Skip to content

Validate configs #2195

Closed
Closed
@MichaelChirico

Description

@MichaelChirico
          I would actually err on the side of safety and suggest consciously using `rm()` or `local()` if temporary variables are needed.

Re validation:

linters should be a list of linters (we already have that validation somewhere).
Exclusions should also be checked "manually".
The rest seems okay to check against types of default_settings.

But most importantly, no unused variable should be defined. And yes, the validation should be executed after loading the config from either source.

Originally posted by @AshesITR in #2177 (comment)

There's also more discussion in the PR about validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    configfeaturea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions