~m-grant-prg/acmbuild/jammy-trunk

« back to all changes in this revision

Viewing changes to .editorconfig

  • Committer: Mark Grant
  • Date: 2022-08-29 08:33:01 UTC
  • mfrom: (1.1.53)
  • Revision ID: m.grant.prg@gmail.com-20220829083301-q4wj91zsposiew2w
Merge new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#########################################################################
 
2
#                                                                       #
 
3
# File ID: ./.editorconfig                                              #
 
4
# Author: Copyright (C) 2022  Mark Grant                                #
 
5
#                                                                       #
 
6
# Released under the GPLv3 only.                                        #
 
7
# SPDX-License-Identifier: GPL-3.0-only                                 #
 
8
#                                                                       #
 
9
#########################################################################
 
10
 
 
11
#########################################################################
 
12
#                                                                       #
 
13
# Changelog                                                             #
 
14
#                                                                       #
 
15
# Date          Author  Version Description                             #
 
16
#                                                                       #
 
17
# 09/08/2022    MG      1.0.1   Initial version.                        #
 
18
# 09/08/2022    MG      1.0.2   Add YAML.                               #
 
19
# 09/08/2022    MG      1.0.3   Add trim_trailing_whitespace.           #
 
20
#                                                                       #
 
21
#########################################################################
 
22
 
 
23
 
 
24
root = true
 
25
 
 
26
[*]
 
27
charset = utf-8
 
28
end_of_line = lf
 
29
insert_final_newline = true
 
30
trim_trailing_whitespace = true
 
31
 
 
32
# If clang-format is used then values for .c and .h files must agree both here
 
33
# and in .clang-format.
 
34
indent_style = tab
 
35
tab_width = 8
 
36
 
 
37
[*.{py,py.in}]
 
38
indent_style = space
 
39
indent_size = 4
 
40
 
 
41
[*.{yml,yml.in}]
 
42
indent_style = space
 
43
indent_size = 2
 
44
 
 
45
[COMMIT_EDITMSG]
 
46
max_line_length = 72