From 0dac1e82a4542ee952373265daa570509b79c443 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 2 Apr 2026 17:07:25 +0200 Subject: [PATCH] chore(tooling): switch indentation from spaces to tabs --- .editorconfig | 7 ++++++- prettier.config.ts | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 48d055c..38fd775 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,9 +3,14 @@ root = true [*] charset = utf-8 end_of_line = lf +indent_style = tab indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true -[*.{yml,yaml,md}] +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +[*.md] indent_size = 2 diff --git a/prettier.config.ts b/prettier.config.ts index 4668c84..63be9fe 100644 --- a/prettier.config.ts +++ b/prettier.config.ts @@ -1,8 +1,8 @@ import { type Config } from "prettier"; const config: Config = { - printWidth: 100, - useTabs: false, + printWidth: 100, // Matches Rust default and looks the best + useTabs: true, // Preferred for accessibility (screen readers, variable fonts) and tab width is easily adjustable per user plugins: ["@ianvs/prettier-plugin-sort-imports"], importOrderTypeScriptVersion: "5.0.0", importOrder: [