# `ZebbraCredo.Check.SystemComment`
[🔗](https://github.com/zebbra/zebbra_credo/blob/v1.0.0/lib/zebbra_credo/check/system_comment.ex#L1)

## Basics

> #### This check is disabled by default. {: .neutral}
>
> [Learn how to enable it](`e:credo:config_file.html#checks`) via `.credo.exs`.

This check has a base priority of `high` and works with any version of Elixir.

## Explanation

A call with `authorize?: false` skips every policy. Say why on the line
above, starting with `# system:`:

    # system: the nightly purge runs without a user.
    QueryLog.purge_expired_rows(cutoff, authorize?: false)

A policy `bypass` skips the policies below it the same way, so it needs
the same comment when `policy_bypasses` is on.

## Check-Specific Parameters

Use the following parameters to configure this check:

### `:include_tests`

  Also check files under `test/`.

*This parameter defaults to* `false`.

### `:policy_bypasses`

  Also require the comment above a `bypass` inside `policies do ... end`.

*This parameter defaults to* `false`.

## General Parameters

Like with all checks, [general params](`e:credo:check_params.html`) can be applied.

Parameters can be configured via the [`.credo.exs` config file](`e:credo:config_file.html`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
