Updated formatting rules

This commit is contained in:
Kieran Eglin 2024-01-19 12:10:43 -08:00
parent 34b45d49be
commit ad6ad329c9
No known key found for this signature in database
GPG key ID: 193984967FCF432D
4 changed files with 7 additions and 8 deletions

View file

@ -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
] ]

View file

@ -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

View file

@ -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

View file

@ -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