Skip to content

Load config yaml as ast to be able to report errors position #2298

@timotheeguerin

Description

@timotheeguerin

Currently when loading the config we are not able to report where in the config file is the invalid property/value.

We can switch from js-yaml to yaml which provides an AST presentation and would allow us to give a better error reporting.

This would also set the groud for an emitter to report a diagnostic on its emitter options and we'd be able to track back where that option is defined.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions