Remove redundant rule disable

This commit is contained in:
Sijawusz Pur Rahnama 2026-01-11 22:30:55 +01:00
parent 92aaec8dd9
commit 068151a664

View File

@ -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
#