linter-foodcritic
Archived: Source Code has been archived
Lint `Foodcritic` on the fly, using foodcritic
This package provides the following services:
linter-foodcritic
This is a foodcritic provider for linter. It will be used with files that have the Chef syntax.
Installation
The linter package must be installed in order to use this plugin. If it
is not installed, please follow the instructions here.
foodcritic Installation
Before using this plugin, you must ensure that foodcritic is installed on
your system. To install foodcritic, do the following:
-
Install ruby.
-
Install
foodcriticby 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.
Plugin installation
$ apm install linter-foodcritic