mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

full diff: https://github.com/creack/pty/compare/v1.1.18...v1.1.21 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
55 lines
980 B
INI
55 lines
980 B
INI
root = true
|
|
|
|
# Sane defaults.
|
|
[*]
|
|
# Always use unix end of line.
|
|
end_of_line = lf
|
|
# Always insert a new line at the end of files.
|
|
insert_final_newline = true
|
|
# Don't leave trailing whitespaces.
|
|
trim_trailing_whitespace = true
|
|
# Default to utf8 encoding.
|
|
charset = utf-8
|
|
# Space > tab for consistent aligns.
|
|
indent_style = space
|
|
# Default to 2 spaces for indent/tabs.
|
|
indent_size = 2
|
|
# Flag long lines.
|
|
max_line_length = 140
|
|
|
|
# Explicitly define settings for commonly used files.
|
|
|
|
[*.go]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
|
|
[*.feature]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.json]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{yml,yaml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.tf]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.md]
|
|
# Don't check line lenghts in files.
|
|
max_line_length = 0
|
|
|
|
[{Makefile,*.mk}]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
|
|
[{Dockerfile,Dockerfile.*}]
|
|
indent_size = 4
|
|
|
|
[*.sql]
|
|
indent_size = 2
|