https://github.com/sublimelinter/sublimelinter-cpplint
This linter plugin for SublimeLinter provides an interface to cpplint.
https://github.com/sublimelinter/sublimelinter-cpplint
Last synced: 10 months ago
JSON representation
This linter plugin for SublimeLinter provides an interface to cpplint.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-cpplint
- Owner: SublimeLinter
- License: mit
- Created: 2013-12-23T15:50:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T12:50:11.000Z (over 1 year ago)
- Last Synced: 2025-04-05T13:23:25.052Z (10 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 21
- Watchers: 7
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-cpplint
=========================
[](https://travis-ci.org/SublimeLinter/SublimeLinter-cpplint)
This linter plugin for SublimeLinter provides an interface to [cpplint](https://pypi.python.org/pypi/cpplint).
It will be used with files that have the "C" or "C++" syntax.
## Installation
SublimeLinter must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) to install the linter plugin.
Before using this plugin, ensure that `cpplint` is installed on your system.
To install `cpplint`, do the following:
1. Install [Python](http://python.org/download/) and [pip](http://www.pip-installer.org/en/latest/installing.html).
1. Install `cpplint` by typing the following in a terminal:
```
[sudo] pip install cpplint
```
Please make sure that the path to `cpplint` is available to SublimeLinter.
The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).
## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
Additional settings for SublimeLinter-cpplint
|Setting|Description|
|:------|:----------|
|filter|A comma-separated list of category-filters to apply|
|linelength|The allowed line length (with cpplint >= 0.0.6)|
``filter`` can be a single string (anywhere) or array of strings (anywhere but inline).