How to run cpplint on recursively on multiple folders?

You can specify path to both the directories as arguments. In this example, they are specified as srcFiles and appFiles.

const cppLint = path.resolve(""); // get the path to
const srcFiles = path.resolve(__dirname, "src");
const appFiles = path.resolve(__dirname, "app");

const flags = '--filter=-runtime/references --recursive --quiet --extensions=cpp,h,cc,mm,m --counting=detailed';`python ${cppLint} ${flags} ${srcFiles} ${appFiles}`);

You may also like...

Leave a Reply

Your email address will not be published.