Skip to content

Commit

Permalink
formatting hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mathertel committed Dec 2, 2023
1 parent 27f9a6a commit 3691fec
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakStringLiterals: false
# v12 has various problems with this set to 0 (no limit)
# possible workaround is to set this to 4294967295 aka some large number
# see https://reviews.llvm.org/D96896
ColumnLimit: 0
# "" matches none
CommentPragmas: ""
Expand Down Expand Up @@ -117,7 +114,7 @@ PenaltyReturnTypeOnItsOwnLine: 1
# Used as a fallback if alignment style can't be detected from code (DerivePointerAlignment: true)
PointerAlignment: Right
RawStringFormats: []
ReflowComments: true
ReflowComments: false
SortIncludes: false
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
Expand Down
23 changes: 23 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"default": true,
"no-hard-tabs": true,
"no-trailing-spaces": true,
"blank_lines": true,
"no-multiple-blanks": {
"maximum": 2
},
"ul-indent": {
"indent": 2
},
"ul-style": {
"style": "asterisk"
},
"line-length": false,
"no-inline-html": false,
"code-block-style": {
"style": "fenced"
},
"no-duplicate-header": {
"allow_different_nesting": true
}
}

0 comments on commit 3691fec

Please sign in to comment.