about summary refs log tree commit diff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorSilvan Mosberger2024-07-26 00:33:32 +0200
committerSilvan Mosberger2024-07-26 00:33:32 +0200
commitca4a5e1f20551bf8069095410ea2c9db1aab5a1e (patch)
tree5e5e086f35c343240bd97ef4ba582b5fa4a57e10 /CONTRIBUTING.md
parentda468028bc4896a59159ad28fdc8c3d912776482 (diff)
CONTRIBUTING.md: Editorconfig instead of manual description
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 44d88a165305..67972d21fd12 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -557,9 +557,7 @@ Names of files and directories should be in lowercase, with dashes between words
 
 ### Syntax
 
-- Use 2 spaces of indentation per indentation level in Nix expressions, 4 spaces in shell scripts.
-
-- Do not use tab characters, i.e. configure your editor to use soft tabs. For instance, use `(setq-default indent-tabs-mode nil)` in Emacs. Everybody has different tab settings so it’s asking for trouble.
+- Set up [editorconfig](https://editorconfig.org/) for your editor, such that [the settings](./.editorconfig) are automatically applied.
 
 - Use `lowerCamelCase` for variable names, not `UpperCamelCase`. Note, this rule does not apply to package attribute names, which instead follow the rules in [package naming](./pkgs/README.md#package-naming).