HomePhabricator

Improve array comma rule

Description

Improve array comma rule

Summary: Improve ArcanistXHPASTLinter::LINT_ARRAY_SEPARATOR in handling multi-line arrays, see D12280 and D12281 for example. Depends on D12295.

Test Plan: Updated unit tests.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 6 2015, 9:52 PM
Reviewer
Blessed Reviewers
Differential Revision
D12296: Improve array comma rule
Parents
rARC4b2d8e3f69c2: Don't pass data to `jshint` via STDIN
Branches
Unknown
Tags
Unknown