<commit_before># thor-foodcritic

Food Critic Thor tasks for your Chef cookbook projects

# Installation

    gem install thor-foodcritic

# Usage

To add the FoodCritic tasks to any Thorfile just require this gem

    require 'thor/foodcritic'

And then get a list of your thor tasks

    $ thor list

    foodcritic
    ----------
    thor foodcritic:lint  # Run a lint test against the Cookbook in your current working directory.

Run the lint task to get a review

    $ thor foodcritic:lint

    FC002: Avoid string interpolation where not required: ...
    FC003: Check whether you are running with chef server before using server-specific features: ...
    FC011: Missing README in markdown format: ...

If any epic failure tags are specified with the `-f` flag, Thor will exit with a status code of `100`.

# Author

Author:: <NAME> (<<EMAIL>>)<commit_msg>Format the markdown in the readme<commit_after># thor-foodcritic

Food Critic Thor tasks for your Chef cookbook projects

# Installation

```
gem install thor-foodcritic
```

# Usage

To add the FoodCritic tasks to any Thorfile just require this gem

```
require 'thor/foodcritic'
```

And then get a list of your thor tasks

```
$ thor list

foodcritic
----------
thor foodcritic:lint  # Run a lint test against the Cookbook in your current working directory.
```

Run the lint task to get a review

```
$ thor foodcritic:lint

FC002: Avoid string interpolation where not required: ...
FC003: Check whether you are running with chef server before using server-specific features: ...
FC011: Missing README in markdown format: ...
```

If any epic failure tags are specified with the `-f` flag, Thor will exit with a status code of `100`.

# Author

Author:: <NAME> ([<EMAIL>](mailto:<EMAIL>))
{'fraction_non_alphanumeric': 0.08599088838268792, 'fraction_numerical': 0.01366742596810934, 'mean_word_length': 3.5283505154639174, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2419278', 'n_tokens_mistral': 552, 'n_tokens_neox': 494, 'n_words': 236}