/atom-linter-cppcheck

A linter for Atom using Cppcheck

Primary LanguageJavaScriptMIT LicenseMIT

linter-cppcheck

Build Status License Downloads


Looking for maintainers I, the maintainer and sole developer of Linter Cppcheck, am not using it myself anymore, and have very little time to keep it up-to-date and bug-free. If you would like to take over ownership of this project, or simply contribute, please contact me.


A linter for Atom using Cppcheck.

Requirements

Cppcheck needs to be installed (or at least available). Its path can be configured.

Without Linter this package is rather useless.

Configuration

The package settings are available at: Edit > Preferences > Packages > linter-cppcheck

You can configure the location of the Cppcheck executable. The default is to look for cppcheck in your $PATH environment variable. In most cases this should ‘just work’.

For Windows users: Cppcheck’s executable is probably not available as cppcheck in your %PATH%. On Windows you will most likely have to configure the path yourself in the Executable field (e.g. C:\Program Files\Cppcheck\cppcheck.exe, but it may vary).

You can also configure which checks Cppcheck should perform. If you want to know more about these checks please see the Cppcheck Manual (PDF) or run man cppcheck.

Acknowledgements

This package is really a tiny amount of glue between other great pieces of software, namely the Linter package, the atom-linter module and — of course — Cppcheck.