Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.73 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.73 KB

linter-cookstyle

Plugin installs! Package version! Dependencies!

This is a cookstyle provider for linter. It will be used with files that have the Chef syntax.

Heavily inspired by linter-rubocop

Installation

The linter package must be installed in order to use this plugin. If it is not installed, please follow the instructions here.

The language-chef package must also be installed in order to use this plugin. If it is not installed, please follow the instructions here

This package will attempt to install these dependent packages on your behalf, but if it is unable to do so, please install them yourself.

cookstyle Installation

Before using this plugin, you must ensure that cookstyle is installed on your system. To install cookstyle, do the following:

  1. Install ruby.

  2. Install cookstyle by typing the following in a terminal:

    gem install cookstyle
  3. Alternatively install ChefDK which already includes cookstyle: https://downloads.chef.io/chef-dk/

Now you can proceed to install the linter-cookstyle plugin.

Plugin installation

$ apm install linter-cookstyle