Page MenuHomePhabricator

Move `LINT_NO_COMMIT` from `ArcanistTextLinter` to a new linter
ClosedPublic

Authored by joshuaspence on Sep 11 2014, 12:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 2:55 PM
Unknown Object (File)
Wed, Apr 24, 10:50 PM
Unknown Object (File)
Mon, Apr 22, 4:46 AM
Unknown Object (File)
Thu, Apr 18, 12:37 PM
Unknown Object (File)
Thu, Apr 11, 7:43 AM
Unknown Object (File)
Mar 29 2024, 9:36 PM
Unknown Object (File)
Mar 29 2024, 7:30 AM
Unknown Object (File)
Mar 28 2024, 4:07 PM
Subscribers

Details

Summary

I don't feel that this linter rule belongs in the ArcanistTextLinter. In fact, this linter rule is quite similar to the rules provided by ArcanistGeneratedLinter and ArcanistNoLintLinter and these classes could possibly be consolidated. I have moved this linter rule to a standalone ArcanistCommitLinter class (which could possibly do additional lints in the future).

Test Plan

Moved existing test cases.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2509
Build 2513: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Remove `LINT_NO_COMMIT` from `ArcanistTextLinter`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

I think this functionality is useful to provide, but moving it elsewhere seems reasonable. The NoLint linter feels a little better to me, because the Generated linter might more complex eventually (see T784).

joshuaspence retitled this revision from Remove `LINT_NO_COMMIT` from `ArcanistTextLinter` to Move `LINT_NO_COMMIT` from `ArcanistTextLinter` to a new linter.Jan 3 2015, 4:41 AM
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 3 2015, 12:32 PM
This revision was automatically updated to reflect the committed changes.