Skip to content

Commit

Permalink
add exception for cpplint with pre-command
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Dec 21, 2024
1 parent 31119d0 commit c2aebaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@
- source: .prettierrc.yaml
- source: .yamllint.yaml
- source: CPPLINT.cfg
pre-commands: |
sd 'filter=-whitespace/braces.*' '\n# https://github.com/cpplint/cpplint/issues/298 for the next filter\nfilter=-readability/nolint # NOLINTBEGIN(*) and NOLINTEND(*) conflict with clang-tidy\n\nfilter=-whitespace/braces # we wrap open curly braces for namespaces, classes and functions' {source}
- source: setup.cfg

0 comments on commit c2aebaf

Please sign in to comment.