| 1 |
root = true |
| 2 |
|
| 3 |
[*] |
| 4 |
charset = utf-8 |
| 5 |
end_of_line = lf |
| 6 |
indent_style = space |
| 7 |
indent_size = 4 |
| 8 |
insert_final_newline = true |
| 9 |
trim_trailing_whitespace = true |
| 10 |
|
| 11 |
# General Markdown files (GitHub/CommonMark - 2 spaces) |
| 12 |
[*.md] |
| 13 |
indent_style = space |
| 14 |
indent_size = 2 |
| 15 |
trim_trailing_whitespace = false |
| 16 |
|
| 17 |
# MkDocs documentation (Python Markdown - 4 spaces) |
| 18 |
[docs/**/*.md] |
| 19 |
indent_style = space |
| 20 |
indent_size = 4 |
| 21 |
trim_trailing_whitespace = false |
| 22 |
|
| 23 |
# Configuration files |
| 24 |
[*.{yml,yaml}] |
| 25 |
indent_style = space |
| 26 |
indent_size = 2 |
| 27 |
trim_trailing_whitespace = true |
| 28 |
|
| 29 |
[*.toml] |
| 30 |
indent_style = space |
| 31 |
indent_size = 2 |
| 32 |
trim_trailing_whitespace = true |
| 33 |
|
| 34 |
[*.json] |
| 35 |
indent_style = space |
| 36 |
indent_size = 2 |
| 37 |
trim_trailing_whitespace = true |
| 38 |
|
| 39 |
# Scripts |
| 40 |
[*.sh] |
| 41 |
indent_style = space |
| 42 |
indent_size = 4 |
| 43 |
trim_trailing_whitespace = true |
| 44 |
|
| 45 |
[*.ps1] |
| 46 |
indent_style = space |
| 47 |
indent_size = 4 |
| 48 |
trim_trailing_whitespace = true |
| 49 |
|
| 50 |
# Web files |
| 51 |
[*.{js,css,html}] |
| 52 |
indent_style = space |
| 53 |
indent_size = 2 |
| 54 |
trim_trailing_whitespace = true |
| 55 |
|
| 56 |
# Text files |
| 57 |
[*.txt] |
| 58 |
indent_style = space |
| 59 |
indent_size = 4 |
| 60 |
trim_trailing_whitespace = true |
| 61 |
|
| 62 |
# Build files |
| 63 |
[Dockerfile] |
| 64 |
indent_style = space |
| 65 |
indent_size = 4 |
| 66 |
trim_trailing_whitespace = true |
| 67 |
|
| 68 |
[Makefile] |
| 69 |
indent_style = tab |
| 70 |
indent_size = 4 |
| 71 |
trim_trailing_whitespace = true |
| 72 |
|
| 73 |
# Git and ignore files |
| 74 |
[{.gitignore,.gitattributes,.dockerignore}] |
| 75 |
indent_style = space |
| 76 |
indent_size = 2 |
| 77 |
trim_trailing_whitespace = true |
| 78 |
|
| 79 |
# Special config files |
| 80 |
[.editorconfig] |
| 81 |
indent_style = space |
| 82 |
indent_size = 2 |
| 83 |
trim_trailing_whitespace = true |
| 84 |
|
| 85 |
[.all-contributorsrc] |
| 86 |
indent_style = space |
| 87 |
indent_size = 2 |
| 88 |
trim_trailing_whitespace = true |
| 89 |
|
| 90 |
# Go files |
| 91 |
[{go.mod,go.sum,*.go}] |
| 92 |
indent_style = tab |
| 93 |
indent_size = 4 |
| 94 |
trim_trailing_whitespace = true |