From a530fce78c550b33cca8094b662b8eae623bb3e4 Mon Sep 17 00:00:00 2001 From: Inczefi Robert <92976450+rinczefi-user@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:55:11 +0300 Subject: [PATCH] set endOfLine to auto to support the codebase also on windows machines --- .eslintrc.json | 8 ++++++++ .prettierrc | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 60b4ce07f..dac8cb293 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -41,6 +41,14 @@ } ] } + ], + + // prettier + "prettier/prettier": [ + "warn", + { + "endOfLine": "auto" + } ] } }, diff --git a/.prettierrc b/.prettierrc index de753c537..12406fd46 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { - "printWidth": 100 + "printWidth": 100, + "endOfLine": "auto" }