Coder Social home page Coder Social logo

foodcritic-rules-optoro's Introduction

Foodcritic-Rules-Optoro

Extends foodcritic with additional rules for Optoro Cookbooks

Rules

OP001 - All Cookbooks must have an MIT license in metadata

All Optoro cookbooks need to have the MIT license specified in the metadta.rb file

OP002 - Missing MIT license

A MIT LICENSE file must be present in all Optoro cookbooks

OP003 - maintainer_email must be set to [email protected] in metadata

Set maintainer_email in metadata.rb to [email protected]

OP004 - Use kitchen-ec2 version 0.10.0 or higher

Kitchen-ec2 version 0.10.0 is the minimum version required

OP005 - Use berkshelf version 4.00 or higher

Berkshelf version 4.0 is the minimum version required

OP006 - Thor must be in Gemfile

thor gem must be included in the Gemfile

OP007 - Must have Thorfile

You must include a Thorfile in your cookbook

OP008 - No Strainerfile allowed

Strainerfiles are no longer used in cookbooks, should be removed

OP009 - Include a chefspec test for every recipe

Every recipe must have a spec file associated with it

OP010 - Thorfile food critic test must include -G

Your Thorfile must include the -G option when foodcritic is run, this is required to get these rules evaluated during the test e.g. - execute_command('bundle exec foodcritic -f any -B ./ -G')

OP011 - Use foodcritic version 5.00 or higher

Foodcritic version 5.0 is the minimum version required

OP012 - Remove 'knife test' from Thorfile

knife test has been deprecated. It no longer needs to run

OP013 - Use chef-zero gem version 4.4.0 or higher

Use chef-zero gem 4.4.0 or higher

OP014 - Use chef gem 12.6.0 or higher

Use chef gem 12.6.0 or higher

OP015 - Must have source_url in metadata pointing to the repository containing the code

You must have a source_url in your metadta that is pointing to the source code repository

foodcritic-rules-optoro's People

Contributors

zadunn avatar jgillis01 avatar

Stargazers

Tim Smith avatar

Watchers

Jarod Reid avatar Brock Wilcox avatar Abel Martin avatar Jess Szmajda avatar Benjamin Smith avatar John Nestoriak avatar Bradley Herrup avatar  avatar James Cloos avatar  avatar Yasha Portnoy avatar Daniel van den Berg avatar Tim Smith avatar  avatar Alex Freidah avatar Chris Hoffman avatar  avatar

Forkers

smedefind

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.