Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
inputs: [
"apps/*/{config,lib,priv,test}/**/*.{ex,exs}",
"apps/*/mix.exs",
"mix.exs",
".formatter.exs",
".iex.exs"
],
locals_without_parens: [
add: :*,
arg: :*,
belongs_to: :*,
can: :*,
config: :*,
create: :*,
description: :*,
embeds_many: :*,
embeds_one: :*,
field: :*,
forward: :*,
gen_enum: :*,
get: :*,
has_many: :*,
has_one: :*,
import_fields: :*,
import_types: :*,
interface: :*,
many_to_many: :*,
middleware: :*,
named: :*,
payload_object: :*,
pipe_through: :*,
plug: 1,
policy: :*,
reload: :*,
render_error: :*,
resolve_type: :*,
resolve: :*,
response: :*,
serialize: :*,
socket: :*,
store_named: :*,
trigger: :*,
types: :*,
value: :*,
whereis_name: :*,
whereis: :*,
set: :*
]
]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ erl_crash.dump

# Also ignore archive artifacts (built via "mix archive.build").
*.ez

/.elixir_ls
3 changes: 1 addition & 2 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ config :ecto_poly, ecto_repos: [EctoPoly.TestRepo]
config :ecto_poly, EctoPoly.TestRepo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "mysecretpassword",
password: "postgres",
database: "postgres",
hostname: "postgres",
pool: Ecto.Adapters.SQL.Sandbox

Loading