Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/react-native-audio-api/.clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Full clang-tidy configuration for react-native-audio-api C++.
# See: https://clang.llvm.org/extra/clang-tidy/checks/list.html
# Tweak checks in .clangd (Diagnostics.ClangTidy.Remove) to disable noisy ones.

Checks: '-*,
bugprone-*,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
portability-*,
cppcoreguidelines-*,
-cppcoreguidelines-non-private-member-variables-in-classes,
concurrency-*'

# Only report in our source (exclude external/, node_modules, build dirs)
HeaderFilterRegex: '.*/(audioapi|common/cpp|src/main/cpp)/.*'

# Apply .clang-format when applying fixes
FormatStyle: file
6 changes: 6 additions & 0 deletions packages/react-native-audio-api/.clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Documentation:
CommentFormat: Doxygen

Diagnostics:
ClangTidy:
FastCheckFilter: Loose
Loading