@@ -580,89 +580,14 @@ Layout/TrailingEmptyLines:
580580Layout/TrailingWhitespace :
581581 Enabled : false
582582
583- # This cop supports safe auto-correction (--auto-correct).
584- Lint/BooleanSymbol :
585- Enabled : false
586-
587583# Configuration parameters: AllowedMethods.
588584# AllowedMethods: enums
589585Lint/ConstantDefinitionInBlock :
590586 Enabled : false
591587
592- # This cop supports safe auto-correction (--auto-correct).
593- Lint/DeprecatedOpenSSLConstant :
594- Exclude :
595- - ' lib/puppet/util/checksums.rb'
596- - ' lib/puppet/x509/cert_provider.rb'
597-
598- # This cop supports safe auto-correction (--auto-correct).
599- Lint/ElseLayout :
600- Exclude :
601- - ' lib/puppet/resource.rb'
602-
603- # Configuration parameters: AllowComments.
604- Lint/EmptyWhen :
605- Exclude :
606- - ' lib/puppet/indirector/hiera.rb'
607- - ' lib/puppet/pops/evaluator/evaluator_impl.rb'
608- - ' lib/puppet/pops/lookup/data_dig_function_provider.rb'
609- - ' lib/puppet/pops/types/type_formatter.rb'
610- - ' lib/puppet/pops/types/type_mismatch_describer.rb'
611- - ' lib/puppet/pops/types/types.rb'
612- - ' lib/puppet/pops/validation/checker4_0.rb'
613- - ' lib/puppet/util/backups.rb'
614- - ' lib/puppet/util/windows/security.rb'
615-
616- # This cop supports safe auto-correction (--auto-correct).
617- Lint/EnsureReturn :
618- Exclude :
619- - ' lib/puppet/configurer.rb'
620-
621- Lint/FloatComparison :
622- Exclude :
623- - ' lib/puppet/pops/types/types.rb'
624-
625- Lint/HashCompareByIdentity :
626- Exclude :
627- - ' lib/puppet/pops/serialization/serializer.rb'
628- - ' lib/puppet/pops/types/recursion_guard.rb'
629-
630- # This cop supports safe auto-correction (--auto-correct).
631- Lint/IdentityComparison :
632- Exclude :
633- - ' lib/puppet/parser/resource.rb'
634- - ' lib/puppet/ssl/verifier.rb'
635- - ' lib/puppet/type.rb'
636-
637- # This cop supports safe auto-correction (--auto-correct).
638- # Configuration parameters: EnforcedStyle.
639- # SupportedStyles: standard_error, runtime_error
640- Lint/InheritException :
641- Exclude :
642- - ' lib/puppet/agent.rb'
643- - ' lib/puppet/network/http/error.rb'
644- - ' lib/puppet/pops/evaluator/closure.rb'
645- - ' lib/puppet/util/logging.rb'
646- - ' lib/puppet/util/retry_action.rb'
647-
648- # This cop supports unsafe auto-correction (--auto-correct-all).
649- Lint/InterpolationCheck :
650- Exclude :
651- - ' lib/puppet/util/package/version/pip.rb'
652-
653- # This cop supports safe auto-correction (--auto-correct).
654- Lint/LiteralInInterpolation :
655- Exclude :
656- - ' lib/puppet/provider/package/yum.rb'
657- - ' lib/puppet/type/component.rb'
658-
659588Lint/MissingSuper :
660589 Enabled : false
661590
662- Lint/MixedRegexpCaptureTypes :
663- Exclude :
664- - ' lib/puppet/util.rb'
665-
666591Lint/NestedMethodDefinition :
667592 Exclude :
668593 - ' lib/puppet/pops/types/p_binary_type.rb'
@@ -677,28 +602,6 @@ Lint/NestedMethodDefinition:
677602 - ' lib/puppet/pops/types/types.rb'
678603 - ' lib/puppet/type.rb'
679604
680- Lint/OutOfRangeRegexpRef :
681- Exclude :
682- - ' lib/puppet/vendor.rb'
683-
684- # This cop supports safe auto-correction (--auto-correct).
685- Lint/ParenthesesAsGroupedExpression :
686- Exclude :
687- - ' lib/puppet/face/epp.rb'
688- - ' lib/puppet/face/parser.rb'
689- - ' lib/puppet/util/retry_action.rb'
690-
691- # This cop supports safe auto-correction (--auto-correct).
692- Lint/RedundantCopDisableDirective :
693- Exclude :
694- - ' lib/puppet/pops/loader/static_loader.rb'
695- - ' lib/puppet/util/posix.rb'
696-
697- # This cop supports safe auto-correction (--auto-correct).
698- Lint/RedundantRequireStatement :
699- Exclude :
700- - ' lib/puppet/type/file.rb'
701-
702605Lint/RescueException :
703606 Exclude :
704607 - ' ext/windows/service/daemon.rb'
@@ -711,29 +614,6 @@ Lint/RescueException:
711614 - ' lib/puppet/util/command_line/trollop.rb'
712615 - ' util/rspec_grouper'
713616
714- Lint/ReturnInVoidContext :
715- Exclude :
716- - ' lib/puppet/type/component.rb'
717- - ' lib/puppet/util/suidmanager.rb'
718-
719- Lint/SelfAssignment :
720- Exclude :
721- - ' lib/puppet/pops/evaluator/evaluator_impl.rb'
722- - ' lib/puppet/pops/evaluator/runtime3_support.rb'
723- - ' lib/puppet/pops/validation/validator_factory_4_0.rb'
724- - ' lib/puppet/provider/nameservice/directoryservice.rb'
725-
726- # Configuration parameters: IgnoreImplicitReferences.
727- Lint/ShadowedArgument :
728- Exclude :
729- - ' lib/puppet/pops/lookup.rb'
730- - ' lib/puppet/settings/file_setting.rb'
731- - ' lib/puppet/settings/port_setting.rb'
732-
733- Lint/StructNewOverride :
734- Exclude :
735- - ' lib/puppet/network/http/request.rb'
736-
737617# Configuration parameters: AllowComments, AllowNil.
738618Lint/SuppressedException :
739619 Exclude :
@@ -758,68 +638,11 @@ Lint/ToJSON:
758638 - ' lib/puppet/network/http/error.rb'
759639 - ' lib/puppet/pops/serialization/json.rb'
760640
761- # Configuration parameters: AllowKeywordBlockArguments.
762- Lint/UnderscorePrefixedVariableName :
763- Exclude :
764- - ' lib/puppet/pops/types/p_object_type.rb'
765- - ' lib/puppet/type/file/checksum_value.rb'
766- - ' lib/puppet/type/file/content.rb'
767-
768- Lint/UnreachableCode :
769- Exclude :
770- - ' lib/puppet/provider/package/portupgrade.rb'
771-
772- # Configuration parameters: AllowedPatterns, IgnoredPatterns.
773- # AllowedPatterns: (?-mix:(exactly|at_least|at_most)\(\d+\)\.times)
774- Lint/UnreachableLoop :
775- Exclude :
776- - ' lib/puppet/util/at_fork.rb'
777-
778- # This cop supports safe auto-correction (--auto-correct).
779- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
780- Lint/UnusedBlockArgument :
781- Enabled : false
782-
783641# This cop supports safe auto-correction (--auto-correct).
784642# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
785643Lint/UnusedMethodArgument :
786644 Enabled : false
787645
788- # This cop supports safe auto-correction (--auto-correct).
789- Lint/UriRegexp :
790- Exclude :
791- - ' lib/puppet/pops/pcore.rb'
792-
793- # This cop supports safe auto-correction (--auto-correct).
794- # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
795- Lint/UselessAccessModifier :
796- Exclude :
797- - ' lib/hiera_puppet.rb'
798-
799- # This cop supports unsafe auto-correction (--auto-correct-all).
800- Lint/UselessMethodDefinition :
801- Exclude :
802- - ' lib/puppet/pops/evaluator/closure.rb'
803- - ' lib/puppet/pops/types/type_conversion_error.rb'
804- - ' lib/puppet/pops/types/type_mismatch_describer.rb'
805- - ' lib/puppet/settings/file_or_directory_setting.rb'
806- - ' lib/puppet/util/profiler/aggregate.rb'
807- - ' lib/puppet/util/rdoc/code_objects.rb'
808- - ' lib/puppet/util/rdoc/generators/puppet_generator.rb'
809-
810- # Configuration parameters: CheckForMethodsWithNoSideEffects.
811- Lint/Void :
812- Exclude :
813- - ' lib/puppet/file_serving/http_metadata.rb'
814- - ' lib/puppet/interface/documentation.rb'
815- - ' lib/puppet/interface/option_builder.rb'
816- - ' lib/puppet/node.rb'
817- - ' lib/puppet/pops/model/factory.rb'
818- - ' lib/puppet/provider/file/windows.rb'
819- - ' lib/puppet/settings.rb'
820- - ' lib/puppet/ssl/certificate_signer.rb'
821- - ' lib/puppet/type.rb'
822-
823646Naming/AccessorMethodName :
824647 Enabled : false
825648
0 commit comments