summaryrefslogtreecommitdiffstats
path: root/.ameba.yml
diff options
context:
space:
mode:
Diffstat (limited to '.ameba.yml')
-rw-r--r--.ameba.yml22
1 files changed, 21 insertions, 1 deletions
diff --git a/.ameba.yml b/.ameba.yml
index c7629dcb..36d7c48f 100644
--- a/.ameba.yml
+++ b/.ameba.yml
@@ -23,6 +23,10 @@ Lint/ShadowingOuterLocalVar:
Lint/NotNil:
Enabled: false
+Lint/SpecFilename:
+ Excluded:
+ - spec/parsers_helper.cr
+
#
# Style
@@ -34,11 +38,27 @@ Style/RedundantBegin:
Style/RedundantReturn:
Enabled: false
+Style/RedundantNext:
+ Enabled: false
+
Style/ParenthesesAroundCondition:
Enabled: false
# This requires a rewrite of most data structs (and their usage) in Invidious.
-Style/QueryBoolMethods:
+Naming/QueryBoolMethods:
+ Enabled: false
+
+Naming/AccessorMethodName:
+ Enabled: false
+
+Naming/BlockParameterName:
+ Enabled: false
+
+# Hides TODO comment warnings.
+#
+# Call `bin/ameba --only Documentation/DocumentationAdmonition` to
+# list them
+Documentation/DocumentationAdmonition:
Enabled: false