Debian Codegraph @

.editorconfig

raw
1 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/general/.editorconfig
2 # See: https://editorconfig.org/
3 # The formatting style defined in this file is the official standardized style to be used in all Arduino Tooling
4 # projects and should not be modified.
5 # Note: indent style for each file type is defined even when it matches the universal config in order to make it clear
6 # that this type has an official style.
7
8 [*]
9 charset = utf-8
10 end_of_line = lf
11 indent_size = 2
12 indent_style = space
13 insert_final_newline = true
14 trim_trailing_whitespace = true
15
16 [*.{adoc,asc,asciidoc}]
17 indent_size = 2
18 indent_style = space
19
20 [*.{bash,sh}]
21 indent_size = 2
22 indent_style = space
23
24 [*.{c,cc,cp,cpp,cxx,h,hh,hpp,hxx,ii,inl,ino,ixx,pde,tpl,tpp,txx}]
25 indent_size = 2
26 indent_style = space
27
28 [*.{go,mod}]
29 indent_style = tab
30
31 [*.java]
32 indent_size = 2
33 indent_style = space
34
35 [*.{js,jsx,json,jsonc,json5,ts,tsx}]
36 indent_size = 2
37 indent_style = space
38
39 [*.{md,mdx,mkdn,mdown,markdown}]
40 indent_size = unset
41 indent_style = space
42
43 [*.proto]
44 indent_size = 2
45 indent_style = space
46
47 [*.py]
48 indent_size = 4
49 indent_style = space
50
51 [*.svg]
52 indent_size = 2
53 indent_style = space
54
55 [*.{yaml,yml}]
56 indent_size = 2
57 indent_style = space
58
59 [{.gitconfig,.gitmodules}]
60 indent_style = tab