mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
add clang tidy
This commit is contained in:
19
.clang-tidy
Normal file
19
.clang-tidy
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Checks: >
|
||||||
|
-*,
|
||||||
|
bugprone-*,
|
||||||
|
google-*,
|
||||||
|
misc-*,
|
||||||
|
modernize-*,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
readability-*,
|
||||||
|
-google-readability-namespace-comments,
|
||||||
|
-google-runtime-int,
|
||||||
|
-google-runtime-references,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
|
-readability-named-parameter,
|
||||||
|
-readability-braces-around-statements,
|
||||||
|
-readability-magic-numbers
|
||||||
|
|
||||||
|
# Turn all the warnings from the checks above into errors.
|
||||||
|
WarningsAsErrors: ""
|
||||||
1
scripts/clang_tidy.sh
Normal file
1
scripts/clang_tidy.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
clang-tidy test/test.cpp -- -Iinclude -Ithird_party/include
|
||||||
Reference in New Issue
Block a user