forked from derrickreimer/level
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.formatter.exs
64 lines (59 loc) · 1005 Bytes
/
.formatter.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[
inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"],
locals_without_parens: [
# Kernel
inspect: 1,
inspect: 2,
# Phoenix
plug: :*,
action_fallback: 1,
render: 2,
render: 3,
render: 4,
redirect: 2,
socket: :*,
get: :*,
post: :*,
resources: :*,
pipe_through: :*,
delete: :*,
forward: :*,
channel: :*,
transport: :*,
# Ecto Schema
field: 2,
field: 3,
belongs_to: 2,
belongs_to: 3,
has_one: 2,
has_one: 3,
has_many: 2,
has_many: 3,
embeds_one: 2,
embeds_one: 3,
embeds_many: 2,
embeds_many: 3,
many_to_many: 2,
many_to_many: 3,
# Ecto Query
from: 2,
# Ecto Migrations
execute: 1,
add: :*,
remove: :*,
create: :*,
drop: :*,
modify: :*,
# Absinthe
arg: :*,
config: 1,
import_types: 1,
parse: 1,
resolve: 1,
serialize: 1,
value: :*,
types: :*,
resolve_type: :*,
interface: :*
]
]