-
Notifications
You must be signed in to change notification settings - Fork 62
/
.formatter.exs
72 lines (63 loc) · 1.08 KB
/
.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
65
66
67
68
69
70
71
72
locals_without_parens = [
## Test setup
before: 1,
before_all: 1,
after_all: 1,
finally: 1,
subject: :*,
subject!: :*,
let: :*,
let!: :*,
let_error: :*,
let_error!: :*,
let_ok: :*,
let_ok!: :*,
let_overridable: 1,
## Examples
focus: :*,
pending: 1,
example: :*,
it: :*,
specify: :*,
it_behaves_like: :*,
## Assertions / Matchers
assert: 1,
refute: 1,
assert_receive: 3,
assert_received: 2,
refute_receive: 3,
refute_received: 2,
eq: 1,
eql: 1,
### be_*
be: :*,
be_function: :*,
be_between: 2,
be_struct: 1,
### have_*
have: 1,
have_key: 1,
have_value: 1,
have_count: 1,
have_first: 1,
have_last: 1,
### match_*
match_pattern: 1,
match_list: 1,
# String matchers
start_with: 1,
end_with: 1,
### Error matchers
raise_exception: :*,
## Mocking / Stubbing
allow: 1,
accept: 2
]
[
inputs: [
"{mix,.formatter}.exs",
"{config,lib,spec,spec_formatter,test}/**/*.{ex,exs}"
],
locals_without_parens: locals_without_parens,
export: [locals_without_parens: locals_without_parens]
]