From ca4d49e1ddd28ea31088ce5ab31544c732c70c3d Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 11 Aug 2026 00:43:17 +0100 Subject: [PATCH] editorconfig: indent TS the same as JS --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 3a2159d33734..4f4cde184f5d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -23,15 +23,15 @@ insert_final_newline = false # see https://nixos.org/nixpkgs/manual/#chap-conventions -[*.{bash,css,js,json,lock,md,nix,pl,pm,py,rb,sh,xml}] +[*.{bash,css,js,json,lock,md,nix,pl,pm,py,rb,sh,ts,xml}] indent_style = space # Match docbook files, set indent width of one [*.xml] indent_size = 1 -# Match json/lockfiles/markdown/nix/ruby files, set indent width of two -[*.{js,json,lock,md,nix,rb}] +# Match js/json/lockfiles/markdown/nix/ruby/ts files, set indent width of two +[*.{js,json,lock,md,nix,rb,ts}] indent_size = 2 # Match all the Bash code in Nix files, set indent width of two