Skip to content

Commit

Permalink
fix: pass prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hpopp committed Aug 31, 2024
1 parent 54c4b4d commit 88b8bee
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
line_length: 80
]
14 changes: 12 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The directory Mix downloads your dependencies sources to.
/deps/

# Where 3rd-party dependencies like ExDoc output generated docs.
# Where third-party dependencies like ExDoc output generated docs.
/doc/

# Ignore .fetch files in case you like to edit your project deps locally.
Expand All @@ -19,6 +19,16 @@ erl_crash.dump
# Also ignore archive artifacts (built via "mix archive.build").
*.ez

# Ignore dialyzer files
# Ignore package tarball (built via "mix hex.build").
accessible-*.tar

# Temporary files for e.g. tests.
/tmp/

# Ignore dialyzer files.
/priv/plts/*.plt
/priv/plts/*.plt.hash

# Misc
.DS_Store
.iex.exs
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Add `use Accessible` to your struct's module to enable `Access` behavior.
```elixir
defmodule YourModule
defstruct key: 1234, key_2: true

use Accessible

def your_function do
...
end
Expand Down

0 comments on commit 88b8bee

Please sign in to comment.