Skip to content

Instantly share code, notes, and snippets.

@dafyddcrosby
Created January 16, 2024 19:03
Show Gist options
  • Save dafyddcrosby/417dde82d1507313f59dae80898c5271 to your computer and use it in GitHub Desktop.
Save dafyddcrosby/417dde82d1507313f59dae80898c5271 to your computer and use it in GitHub Desktop.
--- repo_config 2024-01-16 10:58:33.356147259 -0800
+++ ../cookstyle/chefstyle_config 2024-01-16 10:58:24.337107097 -0800
@@ -1,4 +1,4 @@
-# Available cops (497) + config for /REDACTED/chefstyle:
+# Available cops (749) + config for /REDACTED/cookstyle:
# Department 'Bundler' (6):
Bundler/DuplicatedGem:
Description: Checks for duplicate gem entries in Gemfile.
@@ -75,7 +75,842 @@
- "**/Gemfile"
- "**/gems.rb"
-# Department 'Chef/Ruby' (6):
+# Department 'Chef/Correctness' (40):
+# Supports --auto-correct
+Chef/Correctness/BlockGuardWithOnlyString:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/ChefApplicationFatal:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/ConditionalRubyShellout:
+ Enabled: false
+
+Chef/Correctness/CookbookUsesNodeSave:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/DnfPackageAllowDowngrades:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/IncorrectLibraryInjection:
+ Enabled: false
+
+Chef/Correctness/InvalidCookbookName:
+ Enabled: false
+
+Chef/Correctness/InvalidDefaultAction:
+ Enabled: false
+
+Chef/Correctness/InvalidNotificationResource:
+ Enabled: false
+
+Chef/Correctness/InvalidNotificationTiming:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/InvalidPlatformFamilyHelper:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/InvalidPlatformFamilyInCase:
+ Enabled: false
+
+Chef/Correctness/InvalidPlatformHelper:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/InvalidPlatformInCase:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/InvalidPlatformMetadata:
+ Enabled: false
+
+Chef/Correctness/InvalidPlatformValueForPlatformFamilyHelper:
+ Enabled: false
+
+Chef/Correctness/InvalidPlatformValueForPlatformHelper:
+ Enabled: false
+
+Chef/Correctness/InvalidVersionMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/LazyEvalNodeAttributeDefaults:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/LazyInResourceGuard:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/MacosUserdefaultsInvalidType:
+ Enabled: false
+
+Chef/Correctness/MalformedPlatformValueForPlatformHelper:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/MetadataMalformedDepends:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/MetadataMissingName:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/MetadataMissingVersion:
+ Enabled: false
+
+Chef/Correctness/NodeNormal:
+ Enabled: false
+
+Chef/Correctness/NodeNormalUnless:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/NotifiesActionNotSymbol:
+ Enabled: false
+
+Chef/Correctness/OctalModeAsString:
+ Enabled: false
+
+Chef/Correctness/OpenSSLPasswordHelpers:
+ Enabled: false
+
+Chef/Correctness/PowershellFileExists:
+ Enabled: false
+
+Chef/Correctness/PowershellScriptDeleteFile:
+ Enabled: false
+
+Chef/Correctness/PropertyWithoutType:
+ Enabled: false
+
+Chef/Correctness/ResourceSetsInternalProperties:
+ Enabled: false
+
+Chef/Correctness/ResourceSetsNameProperty:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/ResourceWithNoneAction:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/ScopedFileExist:
+ Enabled: false
+
+Chef/Correctness/ServiceResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Correctness/SupportsMustBeFloat:
+ Enabled: false
+
+Chef/Correctness/TmpPath:
+ Enabled: false
+
+# Department 'Chef/Deprecations' (79):
+# Supports --auto-correct
+Chef/Deprecations/ChefDKGenerators:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefHandlerRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefHandlerUsesSupports:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefRewind:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefShellout:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefSpecCoverageReport:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefSpecLegacyRunner:
+ Enabled: false
+
+Chef/Deprecations/ChefSugarHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChefWindowsPlatformHelper:
+ Enabled: false
+
+Chef/Deprecations/Cheffile:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ChocolateyPackageUninstallAction:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/CookbookDependsOnCompatResource:
+ Enabled: false
+
+Chef/Deprecations/CookbookDependsOnPartialSearch:
+ Enabled: false
+
+Chef/Deprecations/CookbookDependsOnPoise:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/CookbooksDependsOnSelf:
+ Enabled: false
+
+Chef/Deprecations/Delivery:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DependsOnChefNginxCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DependsOnChefReportingCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DependsOnOmnibusUpdaterCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DeprecatedChefSpecPlatform:
+ Enabled: false
+
+Chef/Deprecations/DeprecatedPlatformMethods:
+ Enabled: false
+
+Chef/Deprecations/DeprecatedShelloutMethods:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DeprecatedSudoActions:
+ Enabled: false
+
+Chef/Deprecations/DeprecatedWindowsVersionCheck:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DeprecatedYumRepositoryActions:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/DeprecatedYumRepositoryProperties:
+ Enabled: false
+
+Chef/Deprecations/EOLAuditModeUsage:
+ Enabled: false
+
+Chef/Deprecations/EasyInstallResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/EpicFail:
+ Enabled: false
+
+Chef/Deprecations/ErlCallResource:
+ Enabled: false
+
+Chef/Deprecations/ExecutePathProperty:
+ Enabled: false
+
+Chef/Deprecations/ExecuteRelativeCreatesWithoutCwd:
+ Enabled: false
+
+Chef/Deprecations/FoodcriticFile:
+ Enabled: false
+
+Chef/Deprecations/FoodcriticTesting:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/HWRPWithoutProvides:
+ Enabled: false
+
+Chef/Deprecations/HWRPWithoutUnifiedTrue:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/IncludingXMLRubyRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/IncludingYumDNFCompatRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/LaunchdDeprecatedHashProperty:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/LegacyNotifySyntax:
+ Enabled: false
+
+Chef/Deprecations/LegacyYumCookbookRecipes:
+ Enabled: false
+
+Chef/Deprecations/LibrarianChefSpec:
+ Enabled: false
+
+Chef/Deprecations/LocaleDeprecatedLcAllProperty:
+ Enabled: false
+
+Chef/Deprecations/LogResourceNotifications:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/MacosUserdefaultsGlobalProperty:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/NamePropertyWithDefaultValue:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/NodeDeepFetch:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/NodeMethodsInsteadofAttributes:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/NodeSet:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/NodeSetUnless:
+ Enabled: false
+
+Chef/Deprecations/NodeSetWithoutLevel:
+ Enabled: false
+
+Chef/Deprecations/PartialSearchClassUsage:
+ Enabled: false
+
+Chef/Deprecations/PartialSearchHelperUsage:
+ Enabled: false
+
+Chef/Deprecations/PoiseArchiveUsage:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/PolicyfileCommunitySource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/PowershellCookbookHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/RequireRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ResourceInheritsFromCompatResource:
+ Enabled: false
+
+Chef/Deprecations/ResourceOverridesProvidesMethod:
+ Enabled: false
+
+Chef/Deprecations/ResourceUsesDslNameMethod:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ResourceUsesOnlyResourceName:
+ Enabled: false
+
+Chef/Deprecations/ResourceUsesProviderBaseMethod:
+ Enabled: false
+
+Chef/Deprecations/ResourceUsesUpdatedMethod:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/ResourceWithoutUnifiedTrue:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/Ruby27KeywordArgumentWarnings:
+ Enabled: true
+ Description: Pass options to shell_out helpers without the brackets to avoid Ruby
+ 2.7 deprecation warnings.
+ VersionAdded: 1.3.0
+
+# Supports --auto-correct
+Chef/Deprecations/RubyBlockCreateAction:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/SearchUsesPositionalParameters:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/UseAutomaticResourceName:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/UseInlineResourcesDefined:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/UseYamlDump:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/UserDeprecatedSupportsProperty:
+ Enabled: false
+
+Chef/Deprecations/UsesChefRESTHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/UsesDeprecatedMixins:
+ Enabled: false
+
+Chef/Deprecations/UsesRunCommandHelper:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/VerifyPropertyUsesFileExpansion:
+ Enabled: false
+
+Chef/Deprecations/WindowsFeatureServermanagercmd:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/WindowsPackageInstallerTypeString:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/WindowsTaskChangeAction:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Deprecations/WindowsVersionHelpers:
+ Enabled: false
+
+# Department 'Chef/Effortless' (9):
+Chef/Effortless/Berksfile:
+ Enabled: false
+
+Chef/Effortless/ChefVaultUsed:
+ Enabled: false
+
+Chef/Effortless/CookbookUsesDatabags:
+ Enabled: false
+
+Chef/Effortless/CookbookUsesEnvironments:
+ Enabled: false
+
+Chef/Effortless/CookbookUsesPolicygroups:
+ Enabled: false
+
+Chef/Effortless/CookbookUsesRoles:
+ Enabled: false
+
+Chef/Effortless/CookbookUsesSearch:
+ Enabled: false
+
+Chef/Effortless/DependsChefVault:
+ Enabled: false
+
+Chef/Effortless/SearchForEnvironmentsOrRoles:
+ Enabled: false
+
+# Department 'Chef/Modernize' (76):
+# Supports --auto-correct
+Chef/Modernize/ActionMethodInResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/AllowedActionsFromInitialize:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ChefGemNokogiri:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ClassEvalActionClass:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ConditionalUsingTest:
+ Enabled: false
+
+Chef/Modernize/CronDFileOrTemplate:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/CronManageResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/CustomResourceWithAttributes:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DatabagHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DeclareActionClass:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DefaultActionFromInitialize:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DefinesChefSpecMatchers:
+ Enabled: false
+
+Chef/Modernize/Definitions:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnChefVaultCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnChocolateyCookbooks:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnKernelModuleCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnLocaleCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnOpensslCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnTimezoneLwrpCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnWindowsFirewallCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DependsOnZypperCookbook:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/DslIncludeInResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/EmptyResourceInitializeMethod:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ExecuteAptUpdate:
+ Enabled: false
+
+Chef/Modernize/ExecuteScExe:
+ Enabled: false
+
+Chef/Modernize/ExecuteSleep:
+ Enabled: false
+
+Chef/Modernize/ExecuteSysctl:
+ Enabled: false
+
+Chef/Modernize/ExecuteTzUtil:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/FoodcriticComments:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/IfProvidesDefaultAction:
+ Enabled: false
+
+Chef/Modernize/IncludingAptDefaultRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/IncludingMixinShelloutInResources:
+ Enabled: false
+
+Chef/Modernize/IncludingOhaiDefaultRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/IncludingWindowsDefaultRecipe:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/LegacyBerksfileSource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/LibarchiveFileResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/MacOsXUserdefaults:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/MinitestHandlerUsage:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/NodeInitPackage:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/NodeRolesInclude:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/OpensslRsaKeyResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/OpensslX509Resource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/OsxConfigProfileResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/PowerShellGuardInterpreter:
+ Enabled: false
+
+Chef/Modernize/PowershellInstallPackage:
+ Enabled: false
+
+Chef/Modernize/PowershellInstallWindowsFeature:
+ Enabled: false
+
+Chef/Modernize/PowershellScriptExpandArchive:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/PropertyWithNameAttribute:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ProvidesFromInitialize:
+ Enabled: false
+
+Chef/Modernize/ResourceForcingCompileTime:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ResourceNameFromInitialize:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/RespondToCompileTime:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/RespondToInMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/RespondToProvides:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/RespondToResourceName:
+ Enabled: false
+
+Chef/Modernize/SetOrReturnInResources:
+ Enabled: false
+
+Chef/Modernize/SevenZipArchiveResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/ShellOutHelper:
+ Enabled: false
+
+Chef/Modernize/ShellOutToChocolatey:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/SimplifyAptPpaSetup:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/SysctlParamResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UnnecessaryDependsChef14:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UnnecessaryDependsChef15:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UnnecessaryMixlibShelloutRequire:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseBuildEssentialResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseChefLanguageCloudHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseChefLanguageEnvHelpers:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseChefLanguageSystemdHelper:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseMultipackageInstalls:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UseRequireRelative:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/UsesZypperRepo:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Modernize/WhyRunSupportedTrue:
+ Enabled: false
+
+Chef/Modernize/WindowsRegistryUAC:
+ Enabled: false
+
+Chef/Modernize/WindowsScResource:
+ Enabled: false
+
+Chef/Modernize/WindowsZipfileUsage:
+ Enabled: false
+
+Chef/Modernize/ZipfileResource:
+ Enabled: false
+
+# Department 'Chef/RedundantCode' (23):
+# Supports --auto-correct
+Chef/RedundantCode/AptRepositoryDistributionDefault:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/AptRepositoryNotifiesAptUpdate:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/AttributeMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/ConflictsMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/CustomResourceWithAllowedActions:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/DoubleCompileTime:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/GroupingMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/LongDescriptionMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/MultiplePlatformChecks:
+ Enabled: false
+
+Chef/RedundantCode/NamePropertyIsRequired:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/OhaiAttributeToString:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/PropertySplatRegex:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/PropertyWithRequiredAndDefault:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/ProvidesMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/RecipeMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/ReplacesMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/ResourceWithNothingAction:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/SensitivePropertyInResource:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/StringPropertyWithNilDefault:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/SuggestsMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/UnnecessaryDesiredState:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/UnnecessaryNameProperty:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/RedundantCode/UseCreateIfMissing:
+ Enabled: false
+
+# Department 'Chef/Ruby' (5):
Chef/Ruby/GemspecLicense:
Enabled: true
Description: All gemspec files should define their license.
@@ -108,13 +943,6 @@
VersionAdded: 1.3.0
# Supports --auto-correct
-Chef/Ruby/Ruby27KeywordArgumentWarnings:
- Enabled: true
- Description: Pass options to shell_out helpers without the brackets to avoid Ruby
- 2.7 deprecation warnings.
- VersionAdded: 1.3.0
-
-# Supports --auto-correct
Chef/Ruby/UnlessDefinedRequire:
Enabled: true
Description: Workaround RubyGems' slow requires by only running require if the constant
@@ -123,6 +951,97 @@
Include:
- lib/**/*
+# Department 'Chef/Security' (1):
+Chef/Security/SshPrivateKey:
+ Enabled: false
+
+# Department 'Chef/Sharing' (7):
+Chef/Sharing/DefaultMetadataMaintainer:
+ Enabled: false
+
+Chef/Sharing/EmptyMetadataField:
+ Enabled: false
+
+Chef/Sharing/IncludePropertyDescriptions:
+ Enabled: false
+
+Chef/Sharing/IncludeResourceDescriptions:
+ Enabled: false
+
+Chef/Sharing/IncludeResourceExamples:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Sharing/InsecureCookbookURL:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Sharing/InvalidLicenseString:
+ Enabled: false
+
+# Department 'Chef/Style' (16):
+# Supports --auto-correct
+Chef/Style/AttributeKeys:
+ Enabled: false
+
+Chef/Style/ChefWhaaat:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/CommentFormat:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/CommentSentenceSpacing:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/CopyrightCommentFormat:
+ Enabled: false
+
+Chef/Style/DefaultCopyrightComments:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/FileMode:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/ImmediateNotificationTiming:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/IncludeRecipeWithParentheses:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/NegatingOnlyIf:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/OverlyComplexSupportsDependsMetadata:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/SimplifyPlatformMajorVersionCheck:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/TrueClassFalseClassResourceProperties:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/UnnecessaryOSCheck:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/UnnecessaryPlatformCaseStatement:
+ Enabled: false
+
+# Supports --auto-correct
+Chef/Style/UsePlatformHelpers:
+ Enabled: false
+
# Department 'Gemspec' (6):
# Supports --auto-correct
Gemspec/DateAssignment:
@@ -178,6 +1097,15 @@
Include:
- "**/*.gemspec"
+# Department 'InSpec/Deprecations' (2):
+# Supports --auto-correct
+InSpec/Deprecations/AttributeDefault:
+ Enabled: false
+
+# Supports --auto-correct
+InSpec/Deprecations/AttributeHelper:
+ Enabled: false
+
# Department 'Layout' (96):
# Supports --auto-correct
Layout/AccessModifierIndentation:
@@ -2094,7 +3022,7 @@
IgnoredMethods:
- refine
Exclude:
- - "/REDACTED/chefstyle/**/*.gemspec"
+ - "/REDACTED/cookstyle/**/*.gemspec"
Metrics/BlockNesting:
Description: Avoid excessive block nesting.
@@ -2405,7 +3333,7 @@
- define_method
- define_singleton_method
Exclude:
- - "/REDACTED/chefstyle/spec/**/*"
+ - "/REDACTED/cookstyle/spec/**/*"
# Supports --auto-correct
Naming/RescuedExceptionsVariableName:
@@ -2910,16 +3838,16 @@
VersionAdded: '0.9'
AllowedConstants: []
Exclude:
- - "/REDACTED/chefstyle/spec/**/*"
- - "/REDACTED/chefstyle/test/**/*"
+ - "/REDACTED/cookstyle/spec/**/*"
+ - "/REDACTED/cookstyle/test/**/*"
Style/DocumentationMethod:
Description: Checks for missing documentation comment for public methods.
Enabled: false
VersionAdded: '0.43'
Exclude:
- - "/REDACTED/chefstyle/spec/**/*"
- - "/REDACTED/chefstyle/test/**/*"
+ - "/REDACTED/cookstyle/spec/**/*"
+ - "/REDACTED/cookstyle/test/**/*"
RequireForNonPublicMethods: false
# Supports --auto-correct
@@ -3366,10 +4294,10 @@
AllowedAddresses:
- "::"
Exclude:
- - "/REDACTED/chefstyle/**/*.gemfile"
- - "/REDACTED/chefstyle/**/Gemfile"
- - "/REDACTED/chefstyle/**/gems.rb"
- - "/REDACTED/chefstyle/**/*.gemspec"
+ - "/REDACTED/cookstyle/**/*.gemfile"
+ - "/REDACTED/cookstyle/**/Gemfile"
+ - "/REDACTED/cookstyle/**/gems.rb"
+ - "/REDACTED/cookstyle/**/*.gemspec"
# Supports --auto-correct
Style/KeywordParametersOrder:
@@ -3789,7 +4717,7 @@
- comparison
IgnoredMethods: []
Exclude:
- - "/REDACTED/chefstyle/spec/**/*"
+ - "/REDACTED/cookstyle/spec/**/*"
# Supports --auto-correct
Style/OneLineConditional:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment