HomePhabricator

Improve Arcanist symbol name linter
0781554a22c6Unpublished

Unpublished Commit · Learn More

No further details are available.

Description

Improve Arcanist symbol name linter

Summary:

  • Move name helper functions to ArcanistXHPASTLintNamingHook to make it easier

to write custom linters.

  • Add test coverage for name functions.
  • Add 'variable' and 'global' naming convention tests.
  • Expand test cases.
  • Improve lint message error when an unexpected message is raised during a

test.

  • Remove a defunct XHP lint message.

Test Plan:

  • Ran unit tests.
  • Ran "arc lint --lintall" on arcanist/.

Reviewers: btrahan, nh, jungejason

Reviewed By: btrahan

CC: johnduhart, aran, epriestley, arudolph

Differential Revision: https://secure.phabricator.com/D1506

Details

Provenance
epriestleyAuthored on
Reviewer
btrahan
Differential Revision
Restricted Differential Revision
Parents
rARC975b541d2652: Fix arc patch in git-svn repos
Branches
Unknown
Tags
Unknown

Event Timeline