a1581eca87
Summary: This was motivated by t7518166. checkCpp crashes on db_test.cc because the file is too big :( Couple of changes: * Added clang-format linter. Now we can catch all code that is not formatted correctly. * Added Howtoeven in our list of linters * Replaced cpplint with flint * Removed checkCpp lint. Nobody ownes it and it doesn't work on db_test.cc Test Plan: Made a random lint error and `arc lint`. Saw an error. Reviewers: yhchiang, kradhakrishnan, anthony, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D41949
39 lines
1.5 KiB
PHP
39 lines
1.5 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is automatically generated. Use 'arc liberate' to rebuild it.
|
|
* @generated
|
|
* @phutil-library-version 2
|
|
*/
|
|
|
|
phutil_register_library_map(array(
|
|
'__library_version__' => 2,
|
|
'class' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'cpp_linter/ArcanistCpplintLinter.php',
|
|
'BaseDirectoryScopedFormatLinter' => 'cpp_linter/BaseDirectoryScopedFormatLinter.php',
|
|
'FacebookArcanistConfiguration' => 'config/FacebookArcanistConfiguration.php',
|
|
'FacebookFbcodeLintEngine' => 'lint_engine/FacebookFbcodeLintEngine.php',
|
|
'FacebookFbcodeUnitTestEngine' => 'unit_engine/FacebookFbcodeUnitTestEngine.php',
|
|
'FacebookHowtoevenLintEngine' => 'lint_engine/FacebookHowtoevenLintEngine.php',
|
|
'FacebookHowtoevenLinter' => 'cpp_linter/FacebookHowtoevenLinter.php',
|
|
'FbcodeClangFormatLinter' => 'cpp_linter/FbcodeClangFormatLinter.php',
|
|
'FbcodeCppLinter' => 'cpp_linter/FbcodeCppLinter.php',
|
|
),
|
|
'function' =>
|
|
array(
|
|
),
|
|
'xmap' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'ArcanistLinter',
|
|
'BaseDirectoryScopedFormatLinter' => 'ArcanistLinter',
|
|
'FacebookArcanistConfiguration' => 'ArcanistConfiguration',
|
|
'FacebookFbcodeLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookFbcodeUnitTestEngine' => 'ArcanistBaseUnitTestEngine',
|
|
'FacebookHowtoevenLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookHowtoevenLinter' => 'ArcanistLinter',
|
|
'FbcodeClangFormatLinter' => 'BaseDirectoryScopedFormatLinter',
|
|
'FbcodeCppLinter' => 'ArcanistLinter',
|
|
),
|
|
));
|