Skip to content

All text validators should be moved to or derive from scripts in this repository #1

@jakepetroules

Description

@jakepetroules

Text files in various repositories of ours need to be checked for whitespace, line endings, encoding problems, etc. This code should be centralized into this repository.

Things to check:

  • Encoding is UTF-8, no BOM
  • Uses Unix line endings (except perhaps specific Windows files like .rc?)
  • Does not contain leading tabs (exceptions for some file types which need it)
  • Does not contain trailing whitespace

Add any additional checks that would be useful for general files. Additional validators can extend functionality for certain repositories and/or file types.

Potentially useful: https://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions