diff --git a/.ameba.yml b/.ameba.yml index 682c4464..b493ea0e 100644 --- a/.ameba.yml +++ b/.ameba.yml @@ -1,13 +1,4 @@ -# This configuration file was generated by `ameba --gen-config` -# on 2024-07-22 03:45:06 UTC using Ameba version 1.6.1. -# The point is for the user to remove these configuration records -# one by one as the reported problems are removed from the code base. - -# Problems found: 22 -# Run `ameba --only Documentation/DocumentationAdmonition` for details Documentation/DocumentationAdmonition: - Description: Reports documentation admonitions - Timezone: UTC Admonitions: - TODO - FIXME @@ -16,3 +7,13 @@ Documentation/DocumentationAdmonition: Enabled: true Severity: Convention # TODO: Address these issues and re-enable the check. + +# Ignore false positives. +# See: https://github.com/crystal-ameba/ameba/issues/447 +Lint/UselessAssign: + Enabled: true + Excluded: + - src/spectator.cr + - src/spectator/core/configuration.cr + - src/spectator/core/runner.cr + - src/spectator/core/source_cache.cr