Skip to content

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

License

Notifications You must be signed in to change notification settings

Mattrack/linter-betty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published