This commit is contained in:
Roberto Alsina 2024-07-02 13:33:29 -03:00
parent 9997cdaeaf
commit 72c519a23a
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# This configuration file was generated by `ameba --gen-config`
# on 2024-07-01 18:57:31 UTC using Ameba version 1.6.1.
# on 2024-07-02 16:33:24 UTC using Ameba version 1.6.1.
# The point is for the user to remove these configuration records
# one by one as the reported problems are removed from the code base.
@ -21,7 +21,7 @@ Documentation/DocumentationAdmonition:
Enabled: true
Severity: Warning
# Problems found: 1
# Problems found: 3
# Run `ameba --only Naming/BlockParameterName` for details
Naming/BlockParameterName:
Description: Disallows non-descriptive block parameter names
@ -29,6 +29,7 @@ Naming/BlockParameterName:
AllowNamesEndingInNumbers: true
Excluded:
- src/faaso.cr
- src/daemon/funkos.cr
AllowedNames:
- _
- e

View File

@ -23,7 +23,7 @@ module Funkos
funkos.sort! { |a, b| a.name <=> b.name }
if env.params.query.fetch("format", "json") == "html"
render "src/views/funkos.ecr"
render "src/views/funkos.ecr"
else
funkos.to_json
end

View File

@ -174,7 +174,7 @@ class Funko
source: secrets_mount,
target: "/secrets",
type: "bind"
)
),
]
)
)