| Summary: | [eslint] Warn about unnecessary semicolon use | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> | ||||||
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | mamacdon, simon_kaegi | ||||||
| Version: | 5.0 | Flags: | mamacdon:
review+
simon_kaegi: review+ |
||||||
| Target Milestone: | 5.0 RC2 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Michael Rennie
Created attachment 239881 [details]
fix
Adds support + prefs + tests for warning about unnecessary semicolons
Mark, give the patch a try Created attachment 239882 [details]
update
Seems the last patch was missing the code changes to the plugin, which provides the UI for the prefs.
Fine with this as new feature I'm having trouble applying patches right now but I looked at the code and it seems fine. My only comment would be to name the rule "no-extra-semi" so we keep the same rule naming scheme as eslint master. I still vainly hope for a day when we can leverage the eslint rules rather than maintain our own. Pushed fix to: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=c996a4cbec553bf3092342e4a12dcc54bd1eefa8 Renamed the rule to no-extra-semi |