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)
Thu, Apr 18, 12:37 PM
Unknown Object (File)
Thu, Apr 11, 7:43 AM
Unknown Object (File)
Fri, Mar 29, 9:36 PM
Unknown Object (File)
Fri, Mar 29, 7:30 AM
Unknown Object (File)
Thu, Mar 28, 4:07 PM
Unknown Object (File)
Feb 7 2024, 12:55 AM
Unknown Object (File)
Feb 3 2024, 12:44 AM
Unknown Object (File)
Jan 31 2024, 9:19 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.