| Summary: | Only display relevant errors for jslint json validation | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |
Consider the following example: { "!name": "mongodb", "!define": { "MongoClient" : { "prototype" : { "connect" : "fn(url: String, options: Object, callback: fn())", "open" : "fn(callback: fn())", "close" : "fn(callback: fn())", "db" : "fn(dbName: String) -> Db" }, "connect" : "fn(url: String, options: Object, callback: fn())" }, "MongoClient_obj" : { "!type" : "fn(serverConfig: Object, options: Object)" }, "Db" : { "prototype" : { "cursorInfo" : "fn(options: Object, callback: fn())", "dropDatabase" : "fn(callback: fn())", "dropIndex" : "fn(collectionName: String, indexName: String, callback: fn())", "indexInformation" : "fn(collectionName: String, options: Object, callback: fn())", "reIndex" : "fn(collectionName: String, callback: fn())", "removeAllEventListeners" : "fn()", "stats" : "fn(options: Object, callback: fn())" }, "connect" : "fn(url: String, options: Object, callback: fn())", "DEFAULT_URL" : "String", "wrap" : "fn()" } } } If you forget a comma up near the top, following the missing comma there are hundreds of errors reported, when in reality there should only be one - "Missing comma"