Closed kitchen-porter closed 3 years ago
Hey! I ran Cookstyle 7.16.1 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Chef/Style/AttributeKeys
Style/StringLiterals
Released as: 9.2.1
Hey! I ran Cookstyle 7.16.1 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with test/fixtures/cookbooks/jenkins_authentication/recipes/credential_file.rb
Chef/Style/AttributeKeys
- Use strings to access node attributes (https://docs.chef.io/workstation/cookstyle/chef_style_attributekeys)Style/StringLiterals
- Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)Chef/Style/AttributeKeys
- Use strings to access node attributes (https://docs.chef.io/workstation/cookstyle/chef_style_attributekeys)Style/StringLiterals
- Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)