linter-betty

Lint C code on the fly, using betty Holberton coding style checker.

Mattrack

414

0

2.0.0

MIT

GitHub

This package provides the following services:

linter-betty

This package will lint C source files in Atom with Betty.

Installation

You will need to have Betty installed on your system before trying to use this package.

After installing Betty on your system you can install this package by either searching for it within Atom's package installation section of the settings or by running the following command in a terminal:

apm install linter-betty

As this package only provides a service, you will need something to run it. As such, the Linter package will be installed automatically for you if it isn't already installed. This will provide the user interface and run the linter for you.

Setup

Once the package is installed you may need to specify the path to the Betty executables if Atom is not able to find it automatically.

You can do this from Atom's settings menu or by editing your ~/.atom/config.cson file (choose Open Your Config in Atom's menu). If editing the file by hand you should modify/create a section like the following:

"linter-betty":
  # Betty style path. Needs to be the full path to the betty-style perl script
  executablePath: "~/Betty/betty-style.pl"
  # Betty doc path. Needs to be the full path to the betty-doc perl script
  checkDocExecutablPath: "~/Betty/betty-doc.pl"