Credo v1.5.0-rc.1 Credo.Check.Consistency.LineEndings View Source

This check has a base priority of high and works with any version of Elixir.

Explanation

Windows and Linux/macOS systems use different line-endings in files.

It seems like a good idea not to mix these in the same codebase.

While this is not necessarily a concern for the correctness of your code, you should use a consistent style throughout your codebase.

Configuration parameters

There are no parameters for this check.

Link to this section Summary

Link to this section Functions

Link to this function

do_run_on_source_file(exec, source_file, params)

View Source