aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-02-24 20:44:48 -0500
committerLibravatar GitHub <noreply@github.com>2023-02-24 20:44:48 -0500
commitd657245f7353f692c22db2801ac64f7d807eb415 (patch)
tree5494cbde66f9fb6220df8a72415a6160f130a6b9 /.editorconfig
parentMerge pull request #5677 from kmk3/print-failed-long-arg (diff)
parenteditorconfig: add indentation rules (diff)
downloadfirejail-d657245f7353f692c22db2801ac64f7d807eb415.tar.gz
firejail-d657245f7353f692c22db2801ac64f7d807eb415.tar.zst
firejail-d657245f7353f692c22db2801ac64f7d807eb415.zip
Merge pull request #5674 from kmk3/fix-ws-add-editorconfig
build: Fix whitespace and add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..7d98c1b14
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,34 @@
1root = true
2
3[*]
4charset = utf-8
5end_of_line = lf
6insert_final_newline = true
7trim_trailing_whitespace = true
8
9# Build
10[configure.ac]
11indent_size = 8
12indent_style = tab
13
14[*{.mk,Makefile}{,.in}]
15indent_size = 8
16indent_style = tab
17
18# Source code and scripts
19[*.{c,h}{,.in}]
20indent_size = 8
21indent_style = tab
22
23[*.{awk,exp,sh}{,.in}]
24indent_size = 8
25indent_style = tab
26
27[*.py{,.in}]
28indent_size = 4
29indent_style = space
30
31# Misc
32[.gitlab-ci.yml]
33indent_size = 4
34indent_style = space