Skip to content

How to disable specific rule for cpplint? #2025

Closed Answered by simonppg
simonppg asked this question in Q&A
Discussion options

You must be logged in to vote

The solution was so easy, I just need to look carefully on the error message, it shows the name at the end of the message between "[]"

LinuxFilesManager.hpp:7:  private: should be indented +1 space inside class LinuxFilesManager  [whitespace/indent] [3]

The solution was creating the CPPLINT.cfg file like this:

set noparent

filter=-whitespace/indent

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by simonppg

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants