forked from Xilinx/mlir-aie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
43 lines (34 loc) · 1.2 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
# Configure globally editors and IDE according to this file
# https://EditorConfig.org
# This is the top-most EditorConfig file for this project, to avoid
# being influenced by higher such files, for example if this project
# is a submodule or subproject of an other project.
root = true
# For every file
[*]
# Set default charset
charset = utf-8
# Use Unix-style newlines
end_of_line = lf
# Every file should end with a newline.
# For example the latest ISO C standard draft says on page 10 of
# https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3096.pdf
# "A source file that is not empty shall end in a new-line character, which
# shall not be immediately preceded by a backslash character before any such
# splicing takes place."
insert_final_newline = true
# 2 space indentation
indent_style = space
indent_size = 2
# Remove useless spaces at the end of the line.
# In some special case it is always possible to override it on a file.
trim_trailing_whitespace = true
# Keep short lines to allow more editor windo in column on the screen
max_line_length = 80
# 4 space indentation in Python source files
[*.py]
indent_style = space
indent_size = 4
# Makefiles requires a Tab indentation
[Makefile]
indent_style = tab