forked from DamirSvrtan/fasterer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.fasterer.yml
28 lines (27 loc) · 816 Bytes
/
.fasterer.yml
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
speedups:
rescue_vs_respond_to: true
module_eval: true
shuffle_first_vs_sample: true
for_loop_vs_each: true
each_with_index_vs_while: false
map_flatten_vs_flat_map: true
reverse_each_vs_reverse_each: true
select_first_vs_detect: true
select_last_vs_reverse_detect: true
sort_vs_sort_by: true
fetch_with_argument_vs_block: true
keys_each_vs_each_key: true
hash_merge_bang_vs_hash_brackets: true
block_vs_symbol_to_proc: true
proc_call_vs_yield: true
gsub_vs_tr: true
select_last_vs_reverse_detect: true
getter_vs_attr_reader: true
setter_vs_attr_writer: true
exclude_paths:
- 'spec/support/analyzer/*.rb'
- 'spec/support/binary_call/*.rb'
- 'spec/support/method_call/*.rb'
- 'spec/support/method_definition/*.rb'
- 'spec/support/rescue_call/*.rb'
- 'vendor/**/*.rb'