Skip to content

.dojorc validation #241

@JamesLMilner

Description

@JamesLMilner

Enhancement

Some CLI tools that rely on configs will do validation on those configs to ensure they are correct. For example Webpack does this:

screenshot_20180710_141137

I'm not entirely sure how this would be achieved, so I thought I'd open that up for discussion. Happy to look into implementing once there is consensus on the best approach.

Code

I would imagine the interface would be something like this:

dojo validate

or for example

dojo build

Throws an error if .dojorc doesn't match a specified schema

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions