jakji93 / airon-fitness

AIRON Fitness is an AI-powered fitness companion supporting your personal health journey by delivering customized fitness and meal plans tailored to your goals and preferences.
https://airon-fitness.onrender.com/
MIT License
3 stars 2 forks source link

chore: ensure EOL compatablity for unix and windows systems #9

Closed d-x-s closed 1 year ago

d-x-s commented 1 year ago

For team members that use Windows machines, you may have encounted the following error: Expected linebreaks to be 'LF' but found 'CRLF'

"CRLF stands for Carriage Return Line Feed, and LF stands for Line Feed. CRLF is a two-character sequence used to indicate the end of a line of text in a file. It is represented by the characters CR (carriage return) and LF (line feed). CRLF is used in Windows-based systems, while LF is used in Unix-based systems."

Added a rule in the linter configuration to account for this. Based on the operating system, it will take appropriate line endings.