Pipeline won't run if ALL files don't have proper line endings

I develop on Windows, and my editor (Intellij) is using CRLF line endings in the .idea folder files (editor-generated project config files). When I trigger a pipeline, GitLab keeps immediately throwing an error saying No newline at end of file, pointing at my .idea files. So I’m having to constantly edit my project config files to fix those line endings because they keep getting regenerated in CRLF.

My question is, WHY does GitLab even care about line endings of totally arbitrary files that it’s not even using? It’s been about a year or two since I last used CI pipelines in GitLab, and I don’t remember this ever happening before. Is this some new “feature”?