Open 0xaatif opened 2 weeks ago
Moving here because I think it's a separate change to the PR in question
It's a fair suggestion, but I think adding lints to CI, especially when they're only at nursery
level is something we should avoid doing.
I wasn't aware of the nursery status, and it's a good point. We could either add it in the future or add it now and allow it it emit a warning. I don't have a strong preference.
On a side node, I would like to introduce the shadow_unrelated lint to our codebase at some point.
Perhaps this as well trivially_copy_pass_by_ref.
Good stuff. May I suggest you also use the opportunity to add the lint to our CI, so we cannot merge code that violates this rule going forward?
_Originally posted by @einar-polygon in https://github.com/0xPolygonZero/zk_evm/pull/571#issuecomment-2329159352_