Skip to content

Commit

Permalink
Add cpplint linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fcladera committed Feb 19, 2024
1 parent 6227a26 commit 67b188f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cpplint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Reviewdog
on: [pull_request]

jobs:
cpplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: reviewdog/action-cpplint@master
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
flags: --linelength=120 # Optional
# filter: "-readability/braces\
# ,-whitespace/braces\
# ,-whitespace/comments\
# ,-whitespace/indent\
# ,-whitespace/newline\
# ,-whitespace/operators\
# ,-whitespace/parens\
# " # Optional

0 comments on commit 67b188f

Please sign in to comment.