diff options
author | Carl Smedstad <carl.smedstad@protonmail.com> | 2022-02-06 13:09:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 21:09:38 +0900 |
commit | c9938bc293da6c868d85627fc0f2befc037bb997 (patch) | |
tree | 41d3ca475d5fa46da93f0fbf5dc4fc74e900a0cc /doc | |
parent | 7cbb68da6c5664a4e2aba533fe1f969373c60d5c (diff) | |
download | ale-c9938bc293da6c868d85627fc0f2befc037bb997.zip |
Add CMake linter cmake-lint (#4036)
* Add CMake linter cmake-lint
Add support for the CMake linter provided by
https://github.com/cheshirekow/cmake_format.
* Escape cmake-lint executable and add linter tests
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-cmake.txt | 19 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/doc/ale-cmake.txt b/doc/ale-cmake.txt index 602637b1..e44c328e 100644 --- a/doc/ale-cmake.txt +++ b/doc/ale-cmake.txt @@ -22,6 +22,25 @@ g:ale_cmake_cmakelint_options *g:ale_cmake_cmakelint_options* =============================================================================== +cmake-lint *ale-cmake-cmake-lint* + +g:ale_cmake_cmake_lint_executable *g:ale_cmake_cmake_lint_executable* + *b:ale_cmake_cmake_lint_executable* + Type: |String| + Default: `'cmake-lint'` + + This variable can be set to change the path the cmake-lint. + + +g:ale_cmake_cmake_lint_options *g:ale_cmake_cmake_lint_options* + *b:ale_cmake_cmake_lint_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to cmake-lint. + + +=============================================================================== cmake-format *ale-cmake-cmakeformat* g:ale_cmake_cmakeformat_executable *g:ale_cmake_cmakeformat_executable* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 5449cdef..ee950592 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -105,6 +105,7 @@ Notes: * `cfn-python-lint` * CMake * `cmake-format` + * `cmake-lint` * `cmakelint` * CoffeeScript * `coffee` diff --git a/doc/ale.txt b/doc/ale.txt index 90abf09d..9ce54f12 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2752,6 +2752,7 @@ documented in additional help files. cfn-python-lint.......................|ale-cloudformation-cfn-python-lint| cmake...................................|ale-cmake-options| cmakelint.............................|ale-cmake-cmakelint| + cmake-lint............................|ale-cmake-cmake-lint| cmake-format..........................|ale-cmake-cmakeformat| cpp.....................................|ale-cpp-options| astyle................................|ale-cpp-astyle| |