def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        target_types=[GoModTarget, GoPackageTarget],
        rules=[
            *assembly.rules(),
            *build_pkg.rules(),
            *config_files.rules(),
            *external_tool.rules(),
            *first_party_pkg.rules(),
            *go_mod.rules(),
            *golangci_lint_rules(),
            *import_analysis.rules(),
            *link.rules(),
            *sdk.rules(),
            *skip_field.rules(),
            *source_files.rules(),
            *system_binaries.rules(),
            *target_type_rules.rules(),
            *third_party_pkg.rules(),
            QueryRule(Partitions, [GolangciLintRequest.PartitionRequest]),
            QueryRule(LintResult, [GolangciLintRequest.Batch]),
            *GolangciLint.rules(),
        ],
    )
    METHOD_NAME.set_options([], env_inherit={"PATH"})
    return METHOD_NAME