folkforms / line-endings

Check and/or write line endings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

line-endings

Checks and/or writes line endings.

Options

  • -l/--line-ending LF/CRLF Line ending to use
  • -c/--check <path> Check line endings and fail if any do not match the specified line ending
  • -w/--write <path> Fix any files that do not match the specified line ending
  • -i/--ignore <path> Use the given ignore file. Will default to using .gitignore (if it exists.)

-l/--line-ending and at least one of -c/--check or -w/--write must be specified.

About

Check and/or write line endings.

License:MIT License


Languages

Language:JavaScript 100.0%