refactor: phase 0 & 1

This commit is contained in:
2026-04-26 20:02:15 +03:00
parent 844093e3e7
commit b5c506cf03
36 changed files with 690 additions and 137 deletions
+28
View File
@@ -0,0 +1,28 @@
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 110
PointerAlignment: Left
AlignAfterOpenBracket: Align
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
BreakBeforeBraces: Attach
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
# Project headers: nxst/
- Regex: '^(<|")(nxst/)'
Priority: 3
SortPriority: 3
# Third-party: Plutonium, libnx, SDL, switch.h
- Regex: '^(<|")(pu/|switch\.h|libnx|SDL|freetype|harfbuzz|zlib)'
Priority: 2
SortPriority: 2
# System / C++ standard library
- Regex: '^<'
Priority: 1
SortPriority: 1
SpacesBeforeTrailingComments: 2
Cpp11BracedListStyle: true
Standard: c++17