Skip to content

Commit

Permalink
Merge pull request KumarRobotics#160 from KumarRobotics/cpplint
Browse files Browse the repository at this point in the history
Add cpplint linter
  • Loading branch information
fcladera authored Feb 19, 2024
2 parents 6227a26 + 67b188f commit bf31a42
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 bf31a42

Please sign in to comment.