mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
* 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * Use ubuntu-latest image to run Valgrind (#4575) * 🔧 use Clang image to run valgrind * 🔧 use Clang image to run valgrind * 🔧 use Clang image to run valgrind * 🔧 use Ubuntu image to run valgrind * Use Clang image to run iwyu (#4574) * 🔧 use Clang image to run iwyu * 🔧 use Clang image to run iwyu * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🔧 overwork astyle call * 🎨 format code * 🔨 clean up
81 lines
1.5 KiB
Plaintext
81 lines
1.5 KiB
Plaintext
# Configuration for Artistic Style
|
|
# see https://astyle.sourceforge.net/astyle.html
|
|
|
|
#######################
|
|
# Brace Style Options #
|
|
#######################
|
|
|
|
# use Allman style for braces
|
|
--style=allman
|
|
|
|
###############
|
|
# Tab Options #
|
|
###############
|
|
|
|
# indent using 4 spaces
|
|
--indent=spaces=4
|
|
|
|
#######################
|
|
# Indentation Options #
|
|
#######################
|
|
|
|
# indent access modifiers one half indent
|
|
--indent-modifiers
|
|
|
|
# indent switch cases to the switch block
|
|
--indent-switches
|
|
|
|
# indent preprocessor blocks
|
|
--indent-preproc-block
|
|
|
|
# indent preprocessor defines
|
|
--indent-preproc-define
|
|
|
|
# indent C++ comments
|
|
--indent-col1-comments
|
|
|
|
###################
|
|
# Padding Options #
|
|
###################
|
|
|
|
# insert space padding around operators
|
|
--pad-oper
|
|
|
|
# insert space between if/for/while... and the following parentheses
|
|
--pad-header
|
|
|
|
# attach the pointer to the variable type (left)
|
|
--align-pointer=type
|
|
|
|
# attach the reference to the variable type (left)
|
|
--align-reference=type
|
|
|
|
######################
|
|
# Formatting Options #
|
|
######################
|
|
|
|
# add braces to unbraced one line conditional statements
|
|
--add-braces
|
|
|
|
# convert tabs to spaces
|
|
--convert-tabs
|
|
|
|
# closes whitespace between the ending angle brackets of template definitions
|
|
--close-templates
|
|
|
|
#################
|
|
# Other Options #
|
|
#################
|
|
|
|
# do not create backup files
|
|
--suffix=none
|
|
|
|
# preserve the original file date
|
|
--preserve-date
|
|
|
|
# display only the files that have been formatted
|
|
--formatted
|
|
|
|
# for the linux (LF) line end style
|
|
--lineend=linux
|