Skip to content

Commit

Permalink
Ignore false positives from Ameba
Browse files Browse the repository at this point in the history
  • Loading branch information
icy-arctic-fox committed Aug 26, 2024
1 parent 91e8177 commit ff0f8e5
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit ff0f8e5

Please sign in to comment.