Peter Pentchev | ed29a6f | 2022-11-15 14:27:53 +0200 | [diff] [blame] | 1 | # https://editorconfig.org/ |
Peter Pentchev | b91fc93 | 2023-01-19 15:27:13 +0200 | [diff] [blame] | 2 | # |
| 3 | # SPDX-FileCopyrightText: StorPool <support@storpool.com> |
| 4 | # SPDX-License-Identifier: BSD-2-Clause |
Peter Pentchev | ed29a6f | 2022-11-15 14:27:53 +0200 | [diff] [blame] | 5 | |
| 6 | root = true |
| 7 | |
| 8 | [*] |
| 9 | end_of_line = lf |
| 10 | insert_final_newline = true |
| 11 | charset = utf-8 |
| 12 | |
Peter Pentchev | 53ecf9c | 2022-11-15 14:42:23 +0200 | [diff] [blame] | 13 | [*.nix] |
| 14 | indent_style = space |
| 15 | indent_size = 2 |
| 16 | |
Peter Pentchev | ed29a6f | 2022-11-15 14:27:53 +0200 | [diff] [blame] | 17 | # Mainly for the multi-line "Description: ..." header. |
| 18 | [*.patch] |
| 19 | indent_style = space |
| 20 | indent_size = 1 |
| 21 | |
| 22 | [*.pl] |
| 23 | indent_style = tab |
| 24 | tab_size = 8 |
| 25 | |
Peter Pentchev | b91fc93 | 2023-01-19 15:27:13 +0200 | [diff] [blame] | 26 | [*.py] |
| 27 | indent_style = space |
| 28 | indent_size = 4 |
| 29 | |
| 30 | [*.toml] |
| 31 | indent_style = space |
| 32 | indent_size = 2 |
| 33 | |
Peter Pentchev | ed29a6f | 2022-11-15 14:27:53 +0200 | [diff] [blame] | 34 | [sh/git-if-needed] |
| 35 | indent_style = tab |
| 36 | tab_size = 8 |