summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsyeopite <70992037+syeopite@users.noreply.github.com>2024-07-27 02:31:31 +0000
committerGitHub <noreply@github.com>2024-07-27 02:31:31 +0000
commit90e94d4e6cc126a8b7a091d12d7a5556bfe369d5 (patch)
tree190316428142cc679e0725906eda630e7a9df4a6
parent325561e7553601e0f81ba72ca33ffe52079f3b2a (diff)
parent8575794bada3e1391bfe9836ab18df29135c4db1 (diff)
downloadinvidious-90e94d4e6cc126a8b7a091d12d7a5556bfe369d5.tar.gz
invidious-90e94d4e6cc126a8b7a091d12d7a5556bfe369d5.tar.bz2
invidious-90e94d4e6cc126a8b7a091d12d7a5556bfe369d5.zip
Merge pull request #4792 from syeopite/disable-ameba-rules
Ameba: Disable rules
-rw-r--r--.ameba.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.ameba.yml b/.ameba.yml
index c7629dcb..df97b539 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
@@ -38,7 +42,20 @@ 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