Fix CRLF line endings, should be LF (wrong editor configuration)

Created on 24 April 2023, almost 2 years ago
Updated 25 April 2024, 10 months ago

Problem/Motivation

Some files use CRLF line endings, instead of LF, causing git warnings:

Affected files:

warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/drowl_media_types.libraries.yml.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--document--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--image--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--remote-video--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--slide--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--slideshow--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--vector-image--media-library.html.twig.
The file will have its original line endings in your working directory
warning: CRLF will be replaced by LF in web/modules/contrib/drowl_media/modules/drowl_media_types/templates/media-library/media--drowl-media-types--video--media-library.html.twig.
The file will have its original line endings in your working directory

Steps to reproduce

Run git add . on the modules checked out using composer

Proposed resolution

Configure editor correctly and re-save these files using LF line endings.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anybody
  • Assigned to Grevil
  • 🇩🇪Germany Anybody Porta Westfalica

    @Grevil: Can you please check this in 4.x and correct the setting at @thomas.frobieters VSCode if still required?

  • Issue was unassigned.
  • Status changed to Closed: outdated 10 months ago
  • 🇩🇪Germany Grevil

    Yea, this isn't the case anymore for 4.x. Closing this!

Production build 0.71.5 2024