Home GnuPG

Add a linter rule for detecting empty files
6fa2de5ff813Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a linter rule for detecting empty files

Summary: Adds two different linter rules (one general purpose and another PHP specific) to prevent empty files from being added to a repository. For some unknown reason, people seem to like to do this.

Test Plan: Added test cases.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: avivey, cburroughs, Korvin

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

Details

Provenance
Joshua Spence <josh@joshuaspence.com>Authored on Sep 1 2015, 11:20 AM
Parents
rARCa5304e472d18: Add a linter rule for newlines after PHP open tags
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rARC6fa2de5ff813: Add a linter rule for detecting empty files (authored by Joshua Spence <josh@joshuaspence.com>).Sep 1 2015, 11:30 AM