Add cpplint linter

This commit is contained in:
Dawid Kurek
2017-05-10 19:41:58 +02:00
parent 8712aee5dc
commit 9185a0d2e5
6 changed files with 76 additions and 2 deletions

View File

@@ -58,6 +58,17 @@ g:ale_cpp_cppcheck_options *g:ale_cpp_cppcheck_options*
This variable can be changed to modify flags given to cppcheck.
-------------------------------------------------------------------------------
cpplint *ale-cpp-cpplint*
g:ale_cpp_cpplint_options *g:ale_cpp_cpplint_options*
*b:ale_cpp_cpplint_options*
Type: |String|
Default: `''`
This variable can be changed to modify flags given to cpplint.
-------------------------------------------------------------------------------
gcc *ale-cpp-gcc*

View File

@@ -22,6 +22,7 @@ CONTENTS *ale-contents*
clang...............................|ale-cpp-clang|
clangtidy...........................|ale-cpp-clangtidy|
cppcheck............................|ale-cpp-cppcheck|
cpplint.............................|ale-cpp-cpplint|
gcc.................................|ale-cpp-gcc|
css...................................|ale-css-options|
stylelint...........................|ale-css-stylelint|
@@ -120,7 +121,7 @@ The following languages and tools are supported.
* Bash: 'shell' (-n flag), 'shellcheck'
* Bourne Shell: 'shell' (-n flag), 'shellcheck'
* C: 'cppcheck', 'gcc', 'clang'
* C++ (filetype cpp): 'clang', 'clangtidy', 'cppcheck', 'gcc'
* C++ (filetype cpp): 'clang', 'clangtidy', 'cppcheck', 'cpplint', 'gcc'
* C#: 'mcs'
* Chef: 'foodcritic'
* CMake: 'cmakelint'