Skip to content

jasjuang/SublimeLinter-contrib-cmakelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeLinter-contrib-cmakelint

Build Status Package Control

This linter plugin for SublimeLinter provides an interface to cmakelint. It will be used with files that have the “cmake” syntax.

Installation

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:

  1. Install Python and pip.

  2. 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.

Settings

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).