mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-06 12:09:46 +08:00
add clang-tidy config file
This commit is contained in:
8
.clang-tidy
Normal file
8
.clang-tidy
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
Checks: '-*,google-*,cppcoreguidelines-*,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-pro-bounds-*'
|
||||
Checks: 'openmp-*,performance-*,portability-*'
|
||||
Checks: 'modernize-*,-modernize-use-trailing-*'
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: ''
|
||||
AnalyzeTemporaryDtors: false
|
||||
FormatStyle: '{ BasedOnStyle: Google, UseTab: Never, IndentWidth: 4, TabWidth: 4, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 80, AccessModifierOffset: -3, AlignConsecutiveMacros: true }'
|
||||
Reference in New Issue
Block a user