File: .editorconfig

package info (click to toggle)
pcp 6.3.8-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 235,180 kB
  • sloc: ansic: 1,253,622; sh: 173,998; xml: 160,490; cpp: 83,331; python: 20,482; perl: 18,302; yacc: 6,886; makefile: 2,955; lex: 2,862; fortran: 60; java: 52
file content (23 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# https://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

[*.c]
# unfortunately editorconfig doesn't support the project style of mixed tabs
# and spaces yet
indent_style = tabs
indent_size = 8

[*.{py,python,bpf}]
indent_style = spaces
indent_size = 4
trim_trailing_whitespace = true

[*.{yml,json,sh}]
indent_size = 2
indent_style = spaces
trim_trailing_whitespace = true