Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ChefCorrectness/InvalidDefaultAction cop #685

Merged
merged 3 commits into from
Jul 17, 2020
Merged

Commits on Jul 17, 2020

  1. Add ChefCorrectness/InvalidDefaultAction cop

    Detect when people are setting it to something that isn't a variable, symbol, or array.
    
    Signed-off-by: Tim Smith <tsmith@chef.io>
    tas50 committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    ed87c7c View commit details
    Browse the repository at this point in the history
  2. Update config/cookstyle.yml

    Signed-off-by: Tim Smith <tsmith@chef.io>
    
    Co-authored-by: pete higgins <pete@peterhiggins.org>
    tas50 and phiggins authored Jul 17, 2020
    Configuration menu
    Copy the full SHA
    cea7851 View commit details
    Browse the repository at this point in the history
  3. Update spec/rubocop/cop/chef/correctness/invalid_default_action_spec.rb

    Signed-off-by: Tim Smith <tsmith@chef.io>
    
    Co-authored-by: pete higgins <pete@peterhiggins.org>
    tas50 and phiggins authored Jul 17, 2020
    Configuration menu
    Copy the full SHA
    c0d97b5 View commit details
    Browse the repository at this point in the history