From c835f3588e08f36a621b51d2ee0d35ce7b43a39d Mon Sep 17 00:00:00 2001 From: Victor LUCE <27012568+Geenag@users.noreply.github.com> Date: Mon, 29 Sep 2025 16:49:41 +0200 Subject: [PATCH 1/2] docs: update CONTRIBUTING.md with end of line notice --- contribute/CONTRIBUTING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contribute/CONTRIBUTING.md b/contribute/CONTRIBUTING.md index 0549d3d..732c27a 100644 --- a/contribute/CONTRIBUTING.md +++ b/contribute/CONTRIBUTING.md @@ -14,6 +14,16 @@ And that's pretty much it ! You are now ready to get started. ## 2. Getting Started +### Prerequisite : Git LF/CRLF configuration + +By default, Git on Windows may convert line endings (LF → CRLF). Our Prettier config enforces LF. To avoid unwanted conversions, run one of the following: + +```bash +git config --system core.autocrlf false # per-system +git config --global core.autocrlf false # per-user +git config --local core.autocrlf false # per-project +``` + ### 2.1. For external contributors We use the [Forking Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow), used in From 1854865be4090903f92f53f387ccf4d436a835a6 Mon Sep 17 00:00:00 2001 From: Victor LUCE <27012568+Geenag@users.noreply.github.com> Date: Tue, 7 Oct 2025 12:48:19 +0200 Subject: [PATCH 2/2] docs: feedbacks PR --- contribute/CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contribute/CONTRIBUTING.md b/contribute/CONTRIBUTING.md index 732c27a..1a1f99e 100644 --- a/contribute/CONTRIBUTING.md +++ b/contribute/CONTRIBUTING.md @@ -14,9 +14,9 @@ And that's pretty much it ! You are now ready to get started. ## 2. Getting Started -### Prerequisite : Git LF/CRLF configuration +### Prerequisite : Git LF/CRLF configuration (for Windows users) -By default, Git on Windows may convert line endings (LF → CRLF). Our Prettier config enforces LF. To avoid unwanted conversions, run one of the following: +By default, Git on Windows may convert line endings (LF → CRLF). The whole IroCO2 project was configured to work with LF end-of-line. To avoid unwanted conversions, run one of the following: ```bash git config --system core.autocrlf false # per-system