forked from zephyrproject-rtos/trusted-firmware-m
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
52 lines (42 loc) · 1.02 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
#
# Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# References:
#
# EditorConfig rules https://editorconfig.org/
# TF-M coding rules https://tf-m-user-guide.trustedfirmware.org/contributing/coding_guide.html
root = true
################################
# Default settings for all files
[*]
charset = uft-8
end_of_line = lf
indent_size = 4
tab_width = 4
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
################################
# Assembler
[*.{S,s}]
indent_size = 8
tab_width = 8
# The file categories below are left empty intentionally
# for potential customisation in future
################################
# C and C++
[*.{c,h,cpp,hpp}]
################################
# Python code
[*.py]
################################
#CMake specific settings
[{CMakeLists.txt,*.cmake}]
################################
#Documentation
[*.{rst,md}]
################################
# json,yaml and xml files
[{*.json,*.yaml,*.xml}]