This linter plugin for SublimeLinter provides an interface to cmakelint. It will be used with files that have the “cmake” syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, you must ensure that cmakelint
is installed on your system. To install cmakelint
, do the following:
-
Install
cmakelint
by typing the following in a terminal:[sudo] pip install cmakelint
In order for cmakelint
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.
SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html
Additional settings for SublimeLinter-cmakelint
Setting | Description |
---|---|
filter | A comma-separated list of category-filters to apply |
filter
can be a single string (anywhere) or array of strings (anywhere but inline).