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

Bug 521553

Summary: .tern-project file "plugin" entries can be either objects or boolean
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 15.0   
Target Milestone: 16.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/157
Whiteboard:

Description Michael Rennie CLA 2017-08-29 12:59:46 EDT
Currently in Orion we validate .tern-project files to ensure an entry in the "plugins" section is also an object, for example:

{
 "plugins" : {
  "node": {}
}

but Tern also allows "node" to be set to a boolean. We need to update the validator to allow this, otherwise perfectly good config files will be flagged as having problems.
Comment 1 Eclipse Genie CLA 2017-08-29 13:02:50 EDT
GitHub Pull Request 157 created by [mrennie]
https://github.com/eclipse/orion.client/pull/157