-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
52 lines (44 loc) · 1.38 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#########################################################################
# #
# File ID: ./.editorconfig #
# Author: Copyright (C) 2022, 2023 Mark Grant #
# #
# This file is maintained in the project at:- #
# https://github.com/m-grant-prg/project-misc #
# new versions are merely copied to consumer projects. #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0-only #
# #
#########################################################################
#########################################################################
# #
# Changelog #
# #
# Date Author Version Description #
# #
# 09/08/2022 MG 1.0.1 Initial version. #
# 09/08/2022 MG 1.0.2 Add YAML. #
# 09/08/2022 MG 1.0.3 Add trim_trailing_whitespace. #
# 23/02/2023 MG 1.0.4 Add a comment that this file is #
# maintained in another project. #
# #
#########################################################################
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# If clang-format is used then values for .c and .h files must agree both here
# and in .clang-format.
indent_style = tab
tab_width = 8
[*.{py,py.in}]
indent_style = space
indent_size = 4
[*.{yml,yml.in}]
indent_style = space
indent_size = 2
[COMMIT_EDITMSG]
max_line_length = 72