.editorconfig: move subfolder config into separate .editorconfig files

This avoids paths in the top-level file getting out-of-sync, because the
.editorconfig files would be moved together with the files they target.
This commit is contained in:
Wolfgang Walther 2025-05-07 18:44:47 +02:00
parent 0245105e54
commit c8d2eca963
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
11 changed files with 34 additions and 40 deletions

View file

@ -85,47 +85,10 @@ charset = unset
[eggs.nix]
trim_trailing_whitespace = unset
[nixos/modules/services/networking/ircd-hybrid/*.{conf,in}]
trim_trailing_whitespace = unset
[pkgs/build-support/dotnet/dotnetenv/Wrapper/**]
end_of_line = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
[registry.dat]
end_of_line = unset
insert_final_newline = unset
[pkgs/development/haskell-modules/hackage-packages.nix]
indent_style = unset
trim_trailing_whitespace = unset
[pkgs/misc/documentation-highlighter/**]
insert_final_newline = unset
[pkgs/servers/dict/wordnet_structures.py]
trim_trailing_whitespace = unset
[pkgs/by-name/ti/timidity/timidity.cfg]
trim_trailing_whitespace = unset
[pkgs/tools/security/qdigidoc/vendor/*]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
[pkgs/by-name/ov/ovftool/*.ova]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset
[lib/tests/*.plist]
indent_style = tab
insert_final_newline = unset
[pkgs/kde/generated/**]
insert_final_newline = unset
end_of_line = unset
# Keep this hint at the bottom:
# Please don't add entries for subfolders here.
# Create <subfolder>/.editorconfig instead.

3
lib/tests/.editorconfig Normal file
View file

@ -0,0 +1,3 @@
[*.plist]
indent_style = tab
insert_final_newline = unset

View file

@ -0,0 +1,2 @@
[*.{conf,in}]
trim_trailing_whitespace = unset

View file

@ -0,0 +1,5 @@
[*]
end_of_line = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

View file

@ -0,0 +1,5 @@
[*.ova]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset

View file

@ -0,0 +1,2 @@
[timidity.cfg]
trim_trailing_whitespace = unset

View file

@ -0,0 +1,3 @@
[hackage-packages.nix]
indent_style = unset
trim_trailing_whitespace = unset

View file

@ -0,0 +1,3 @@
[*]
insert_final_newline = unset
end_of_line = unset

View file

@ -0,0 +1,2 @@
[*]
insert_final_newline = unset

View file

@ -0,0 +1,2 @@
[wordnet_structures.py]
trim_trailing_whitespace = unset

View file

@ -0,0 +1,4 @@
[*]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset