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 # Exclude assigns for ECR files
Lint/UselessAssign: Lint/UselessAssign:
Excluded: Excluded:
- src/invidious.cr - src/invidious.cr
- src/invidious/helpers/errors.cr - src/invidious/helpers/errors.cr
- src/invidious/routes/**/*.cr - src/invidious/routes/**/*.cr
# Ignore false negative (if !db.query_one?...) # Ignore false negative (if !db.query_one?...)
Lint/UnreachableCode: Lint/UnreachableCode:
Excluded: Excluded:
- src/invidious/database/base.cr - src/invidious/database/base.cr
# Ignore shadowed variable `key` (it works for now, and that's # Ignore shadowed variable `key` (it works for now, and that's
# a sensitive part of the code) # a sensitive part of the code)
Lint/ShadowingOuterLocalVar: Lint/ShadowingOuterLocalVar:
Excluded: Excluded:
- src/invidious/helpers/tokens.cr - src/invidious/helpers/tokens.cr
Lint/NotNil: Lint/NotNil:
Enabled: false Enabled: false
@ -27,7 +27,6 @@ Lint/SpecFilename:
Excluded: Excluded:
- spec/parsers_helper.cr - spec/parsers_helper.cr
# #
# Style # Style
# #
@ -54,14 +53,6 @@ Naming/AccessorMethodName:
Naming/BlockParameterName: Naming/BlockParameterName:
Enabled: false Enabled: false
# Hides TODO comment warnings.
#
# Call `bin/ameba --only Documentation/DocumentationAdmonition` to
# list them
Documentation/DocumentationAdmonition:
Enabled: false
# #
# Metrics # Metrics
# #