def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *shfmt_rules(), *config_files.rules(), *external_tool.rules(), *source_files.rules(), QueryRule(LintResults, [ShfmtRequest]), QueryRule(FmtResult, [ShfmtRequest]), QueryRule(SourceFiles, [SourceFilesRequest]), ], target_types=[ShellLibrary], )
def rules(): return [*shfmt_rules(), *shell_fmt.rules()]
def rules(): return [*shfmt_rules(), *shell_fmt.rules(), *skip_field.rules()]