This is a foodcritic provider for linter. It will be used with files that have the Chef syntax.
The linter
package must be installed in order to use this plugin. If it
is not installed, please follow the instructions here.
Before using this plugin, you must ensure that foodcritic
is installed on
your system. To install foodcritic
, do the following:
-
Install ruby.
-
Install
foodcritic
by typing the following in a terminal:gem install foodcritic
-
Alternatively install ChefDK which already includes
foodcritic
: https://downloads.chef.io/chef-dk/
Now you can proceed to install the linter-foodcritic
plugin.
$ apm install linter-foodcritic