update .astylerc

This commit is contained in:
Tina Pavlenko 2026-03-01 15:36:12 +00:00
parent 9beff290ac
commit 3e048541b0

View file

@ -1,3 +1,40 @@
--style=1tbs # стиль фигурных скобок # Brace
--indent=spaces=2 # отступы по 2 пробела --style=attach
# Brace Modify
--attach-namespaces
--attach-classes
--add-one-line-braces
#Tab
--indent=spaces=2
# Indentation
--max-continuation-indent=40
--indent-lambda
# Padding
--pad-oper
--pad-comma
--pad-include
--unpad-paren
--fill-empty-lines
--squeeze-lines=2
--squeeze-ws
--align-pointer=name
--align-reference=name
# Formatting
--add-braces
--attach-return-type
--attach-return-type-decl
--keep-one-line-blocks
--convert-tabs
--close-templates
--remove-comment-prefix
--max-code-length=100
--mode=c
# Other
--errors-to-stdout
--lineend=linux