]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for array elements
authorJoshua Spence <josh@joshuaspence.com>
Mon, 10 Aug 2015 20:58:28 +0000 (06:58 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 10 Aug 2015 21:16:35 +0000 (07:16 +1000)
commit830bcbc2a5e9ccc724e80ba878f61d71c6590ae0
tree84336560899671e866a99d05e81bbd60855d6b2b
parent59698df856ddaff7440c8b244043d2a1f598d522
Add a linter rule for array elements

Summary: Add a linter rule to ensure that array elements occupy a single line each.

Test Plan: Added test cases.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13842
src/__phutil_library_map__.php
src/lint/linter/__tests__/xhpast/array-value.lint-test [new file with mode: 0644]
src/lint/linter/xhpast/rules/ArcanistArrayValueXHPASTLinterRule.php [new file with mode: 0644]