Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 526431

Summary: Provide basic YAML validation
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: xinyij
Version: 16.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/245
Whiteboard:

Description Michael Rennie CLA 2017-10-24 15:01:00 EDT
Working with YAML is painful - working with YAML without at least basic validation to alert you that you have bad indentation, etc, is even worse.

We should hook up js-yaml for all YAML files to at least report parse / syntax failures.
Comment 1 Eclipse Genie CLA 2017-10-24 15:07:41 EDT
GitHub Pull Request 245 created by [mrennie]
https://github.com/eclipse/orion.client/pull/245
Comment 2 Michael Rennie CLA 2018-01-31 09:37:00 EST
The PR was merged a while back with basic support to catch are report failure directly from the js-yaml parser.

I am going to close this - I'll open follow up bugs as needed to improve the reporting /  addition of more rules.