| Summary: | Update linting to handle simplified CommonJS statements | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | steve_northover |
| Version: | 13.0 | ||
| Target Milestone: | 14.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
Quick list of the lint problems: 1) We should always suggest starting the RequireJS plugin, not Common JS 2) We should not warn if a module name is known to exist (happens due to paths with slashes meaning something different in CommonJS vs RequireJS). 3) We should warn if a module name can't be found. (See Steve's comment Bug 511317#8. 4) We should avoid putting problems on the require/modules/exports params about shadowing. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=246408874a90bb913122f959f41c6bf62b61ebbf Fixed in master with new test suite |