From 068151a6648e7dea2adfe49bed51324e3eb65d7e Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 11 Jan 2026 22:30:55 +0100 Subject: [PATCH] Remove redundant rule disable --- .ameba.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.ameba.yml b/.ameba.yml index 36d7c48fa..613ad5ec3 100644 --- a/.ameba.yml +++ b/.ameba.yml @@ -5,20 +5,20 @@ # Exclude assigns for ECR files Lint/UselessAssign: Excluded: - - src/invidious.cr - - src/invidious/helpers/errors.cr - - src/invidious/routes/**/*.cr + - src/invidious.cr + - src/invidious/helpers/errors.cr + - src/invidious/routes/**/*.cr # Ignore false negative (if !db.query_one?...) Lint/UnreachableCode: Excluded: - - src/invidious/database/base.cr + - src/invidious/database/base.cr # Ignore shadowed variable `key` (it works for now, and that's # a sensitive part of the code) Lint/ShadowingOuterLocalVar: Excluded: - - src/invidious/helpers/tokens.cr + - src/invidious/helpers/tokens.cr Lint/NotNil: Enabled: false @@ -27,7 +27,6 @@ Lint/SpecFilename: Excluded: - spec/parsers_helper.cr - # # Style # @@ -54,14 +53,6 @@ Naming/AccessorMethodName: Naming/BlockParameterName: Enabled: false -# Hides TODO comment warnings. -# -# Call `bin/ameba --only Documentation/DocumentationAdmonition` to -# list them -Documentation/DocumentationAdmonition: - Enabled: false - - # # Metrics #