With text=auto
you already get LF line endings for all text files in the Git repository.
With eol=lf
, you in addition only prevent that text files are converted to CRLF on checkout on Windows. If you only want to make sure that the files have LF in a checkout on a Linux system, you don't need that configuration.