Page MenuHomePhabricator

Add a linter rule to detect unnecessary semicolons
ClosedPublic

Authored by joshuaspence on Mar 23 2015, 8:23 PM.
Tags
None
Referenced Files
F19804767: D12139.diff
Mon, Mar 2, 10:50 AM
F19635528: D12139.id29180.diff
Thu, Feb 5, 11:08 AM
F19554892: D12139.id29555.diff
Jan 30 2026, 4:49 AM
F19554165: D12139.id29180.diff
Jan 29 2026, 6:07 PM
F19546695: D12139.id.diff
Jan 25 2026, 3:57 PM
F19541694: D12139.diff
Jan 22 2026, 6:35 AM
F19504707: D12139.diff
Jan 9 2026, 6:15 AM
F19504706: D12139.diff
Jan 9 2026, 6:14 AM
Subscribers
Tokens
"Love" token, awarded by johnny-bit.

Details

Summary

Ref T7409. Adds a rule to detect unnecessary semicolons. The most common scenario I've seen in the wild is the use of semicolons after a class definition:

class MyClass {
  // ...
};
Test Plan

Added unit tests.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add a linter rule to detect unnecessary semicolons.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Apr 6 2015, 1:06 PM
This revision was automatically updated to reflect the committed changes.