Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

New rule: no-useless-files #349

Closed
wants to merge 1 commit into from
Closed

New rule: no-useless-files #349

wants to merge 1 commit into from

Conversation

ChrisMBarr
Copy link
Contributor

This rule will locate files that:

  • only contain code comments
  • only contain whitespace characters
  • contain nothing at all

Purpose: To not keep useless files around in a project. If a file contains no runnable code or has no content, there should not be a reason to keep it around.

Backstory: I've run into a situation where another developer finds something is not yet functioning properly, so instead of not checking it in to source control they decided to comment the whole thing out and check it in.

@msftclas
Copy link

@ChrisMBarr, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

@HamletDRC HamletDRC added this to the 4.0.2 milestone Mar 17, 2017
@HamletDRC HamletDRC closed this in 051abda Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants