util/lint: Check for windows line endings
commit01b5dd60a8710ff505d8add6c181a97ecd329fad
authorMartin Roth <martin@coreboot.org>
Wed, 17 Feb 2021 17:52:55 +0000 (17 10:52 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 25 Feb 2021 10:03:32 +0000 (25 10:03 +0000)
treef6e5ec3eb8aa64f979eef415f2976dd49cf98257
parent0bb62907eb65788768168d735bce466d743ac393
util/lint: Check for windows line endings

The codebase currently has only unix line endings, so add a lint tool
to check for windows line endings.

BUG=None
TEST=Verify that line endings are caught both inside and outside a git
repo.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I6faf99a3184e4843640fb8965f8124de0bc52ce7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50851
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
util/lint/lint-stable-026-line-endings [new file with mode: 0755]