Check EOF is LF

September 25, 2023 ยท View on GitHub

check-eol-is-lf.png

Description

This validator checks whether the EOF is defined correctly.

Solution

  • Create .gitattributes file in the project root
  • Add the following: text eol=lf