Merge pull request #341 from fyrz/arc-lint

Removed code which prevents `arc lint` from working properly.
main
Igor Canadi 10 years ago
commit 6bcff9dc28
  1. 4
      linters/lint_engine/FacebookFbcodeLintEngine.php

@ -44,10 +44,6 @@ class FacebookFbcodeLintEngine extends ArcanistLintEngine {
if (!$this->getCommitHookMode()) { if (!$this->getCommitHookMode()) {
$cpp_linters = array(); $cpp_linters = array();
$google_linter = new ArcanistCpplintLinter(); $google_linter = new ArcanistCpplintLinter();
$google_linter->setConfig(array(
'lint.cpplint.prefix' => '',
'lint.cpplint.bin' => 'cpplint',
));
$cpp_linters[] = $linters[] = $google_linter; $cpp_linters[] = $linters[] = $google_linter;
$cpp_linters[] = $linters[] = new FbcodeCppLinter(); $cpp_linters[] = $linters[] = new FbcodeCppLinter();
$cpp_linters[] = $linters[] = new PfffCppLinter(); $cpp_linters[] = $linters[] = new PfffCppLinter();

Loading…
Cancel
Save