How the Check Works
The CheckLineEndings
is designed to identify and report inconsistent line endings in your project’s MonoScripts. Inconsistent line endings can lead to compatibility issues across different platforms and code editors.
When to Use This Check
- Cross-Platform Compatibility: Ensure that your codebase follows a consistent line ending convention to avoid compatibility issues when working on different platforms or using different code editors.
- Coding Standard Adherence: Maintain adherence to coding standards by identifying and addressing inconsistent line endings within your scripts.
How to fix erros like this
In order to fix inconsistent line endings in your project, open the script in question using your code editor. Most of the time, a warning will appear right away. We also offer an automatic fix that sets line endings to a default throughout the document in question.