Esempio n. 1
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        rules=[
            *shellcheck_rules(),
            *config_files.rules(),
            *external_tool.rules(),
            *source_files.rules(),
            QueryRule(LintResults, [ShellcheckRequest]),
        ],
        target_types=[ShellLibrary],
    )
Esempio n. 2
0
def rules():
    return (*shellcheck_rules(), *skip_field.rules())
Esempio n. 3
0
def rules():
    return shellcheck_rules()