Skip to content

mattstratton/linter-cookstyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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