Updated formatting rules
This commit is contained in:
parent
34b45d49be
commit
ad6ad329c9
4 changed files with 7 additions and 8 deletions
|
|
@ -2,5 +2,6 @@
|
||||||
import_deps: [:ecto, :ecto_sql, :phoenix],
|
import_deps: [:ecto, :ecto_sql, :phoenix],
|
||||||
subdirectories: ["priv/*/migrations"],
|
subdirectories: ["priv/*/migrations"],
|
||||||
plugins: [Phoenix.LiveView.HTMLFormatter],
|
plugins: [Phoenix.LiveView.HTMLFormatter],
|
||||||
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"]
|
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"],
|
||||||
|
line_length: 100
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import Config
|
||||||
# to provide built-in test partitioning in CI environment.
|
# to provide built-in test partitioning in CI environment.
|
||||||
# Run `mix help test` for more information.
|
# Run `mix help test` for more information.
|
||||||
config :pinchflat, Pinchflat.Repo,
|
config :pinchflat, Pinchflat.Repo,
|
||||||
username: "postgres",
|
username: System.get_env("POSTGRES_USER"),
|
||||||
password: "postgres",
|
password: System.get_env("POSTGRES_PASSWORD"),
|
||||||
hostname: "localhost",
|
hostname: System.get_env("POSTGRES_HOST"),
|
||||||
database: "pinchflat_test#{System.get_env("MIX_TEST_PARTITION")}",
|
database: "pinchflat_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
pool_size: 10
|
pool_size: 10
|
||||||
|
|
|
||||||
|
|
@ -614,8 +614,7 @@ defmodule PinchflatWeb.CoreComponents do
|
||||||
to: selector,
|
to: selector,
|
||||||
time: 200,
|
time: 200,
|
||||||
transition:
|
transition:
|
||||||
{"transition-all transform ease-in duration-200",
|
{"transition-all transform ease-in duration-200", "opacity-100 translate-y-0 sm:scale-100",
|
||||||
"opacity-100 translate-y-0 sm:scale-100",
|
|
||||||
"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}
|
"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,7 @@ defmodule PinchflatWeb.Telemetry do
|
||||||
),
|
),
|
||||||
summary("pinchflat.repo.query.idle_time",
|
summary("pinchflat.repo.query.idle_time",
|
||||||
unit: {:native, :millisecond},
|
unit: {:native, :millisecond},
|
||||||
description:
|
description: "The time the connection spent waiting before being checked out for the query"
|
||||||
"The time the connection spent waiting before being checked out for the query"
|
|
||||||
),
|
),
|
||||||
|
|
||||||
# VM Metrics
|
# VM Metrics
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue