Skip to content

Commit

Permalink
Add basic clangd configuration for collector devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Aug 30, 2023
1 parent 742dbad commit 748b0e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ RUN dnf install -y \
podman-docker && \
dnf clean all

COPY clangd.yaml /root/.config/clangd/config.yaml

# scan-view default port
EXPOSE 8181
11 changes: 11 additions & 0 deletions collector/clangd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Diagnostics:
ClangTidy:
Add:
- bugprone*
- cppcoreguidelines*
- modernize*
- performance*
- readability*
Remove:
- readability-identifier-length
- modernize-use-trailing-return-type

0 comments on commit 748b0e0

Please # to comment.