Home GnuPG

Add a linter rule for list assignments
f4c322cb72cdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a linter rule for list assignments

Summary: Add a linter rule to prevent trailing commas in a list assignment. list($x, $y,) is equivalent to list($x, $y), but the latter is cleaner and should be preferred.

Test Plan: Added test cases.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

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

Details

Provenance
Joshua Spence <josh@joshuaspence.com>Authored on Aug 12 2015, 5:22 AM
Parents
rARC807057087d65: Restore default "yes" behavior for lint patch
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rARCf4c322cb72cd: Add a linter rule for list assignments (authored by Joshua Spence <josh@joshuaspence.com>).Aug 12 2015, 5:22 AM