Open diegozea opened 6 years ago
Hi!
I would be great if Lint.jl could catch situations where mutating functions are not named with the bang at the end.
i.e.
my_fill(x) = fill!(x, zero(eltype(x))) function add_one(x) for i in 1:length(x) x[i] = x[i] + one(eltype(x)) end x end
These functions should be named my_fill! and add_one! instead.
my_fill!
add_one!
Best regards,
Hi!
I would be great if Lint.jl could catch situations where mutating functions are not named with the bang at the end.
i.e.
These functions should be named
my_fill!
andadd_one!
instead.Best regards,