mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 21:12:31 +08:00
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
This commit is contained in:
@@ -21,6 +21,25 @@ g:ale_cmake_cmakelint_options *g:ale_cmake_cmakelint_options*
|
||||
This variable can be set to pass additional options to cmakelint.
|
||||
|
||||
|
||||
===============================================================================
|
||||
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*
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@ Notes:
|
||||
* `cfn-python-lint`
|
||||
* CMake
|
||||
* `cmake-format`
|
||||
* `cmake-lint`
|
||||
* `cmakelint`
|
||||
* CoffeeScript
|
||||
* `coffee`
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user