From 0ae5078227525f2ec8b8776cb40910b26b0b15fa Mon Sep 17 00:00:00 2001 From: Matthias Van Parijs Date: Tue, 27 Aug 2024 00:08:15 +0200 Subject: [PATCH] chore: Added editorconfig --- .editorconfig | 13 +++++++++++++ package.json | 1 + pnpm-lock.yaml | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..9a8469f7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 +quote_type = double + +[*.md] +trim_trailing_whitespace = false \ No newline at end of file diff --git a/package.json b/package.json index 99bfa896..4eca4e31 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "packageManager": "pnpm@8.15.1", "devDependencies": { + "prettier": "^3.3.3", "turbo": "^2.0.11" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53d15157..c64fa277 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + prettier: + specifier: ^3.3.3 + version: 3.3.3 turbo: specifier: ^2.0.11 version: 2.0.11 @@ -8933,7 +8936,6 @@ packages: resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} engines: {node: '>=14'} hasBin: true - dev: false /pretty-bytes@6.1.1: resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==}