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("cpplint.py"); // get the path to cpplint.py
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';
node.shell.exec(`python ${cppLint} ${flags} ${srcFiles} ${appFiles}`);