aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-19 16:08:54 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-20 18:07:09 -0300
commit71d7572950e9266fcf54a9278a948f6b88fa495b (patch)
treecf6318c4e6a213903e005399a3c2111ec5fb4516 /src
parentFix inconsistent leading spaces (diff)
downloadfirejail-71d7572950e9266fcf54a9278a948f6b88fa495b.tar.gz
firejail-71d7572950e9266fcf54a9278a948f6b88fa495b.tar.zst
firejail-71d7572950e9266fcf54a9278a948f6b88fa495b.zip
editorconfig: add indentation rules
Commands used to list the file extensions used in the project: $ git ls-files | sed -En 's/.*(\.[^.]+)$/\1/p' | LC_ALL=C sort | uniq -c For rules that are more specific to a given directory, put a dedicated .editorconfig file in it.
Diffstat (limited to 'src')
-rw-r--r--src/bash_completion/.editorconfig3
-rw-r--r--src/zsh_completion/.editorconfig3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bash_completion/.editorconfig b/src/bash_completion/.editorconfig
new file mode 100644
index 000000000..298a13b5e
--- /dev/null
+++ b/src/bash_completion/.editorconfig
@@ -0,0 +1,3 @@
1[*.bash_completion{,.in}]
2indent_size = 4
3indent_style = space
diff --git a/src/zsh_completion/.editorconfig b/src/zsh_completion/.editorconfig
new file mode 100644
index 000000000..15ca952a4
--- /dev/null
+++ b/src/zsh_completion/.editorconfig
@@ -0,0 +1,3 @@
1[_*{,.in}]
2indent_size = 4
3indent_style = space