Use Modify(false) instead of Modify() | Explicitly specify whether to run with or without validation #111
Closed
rvanbekkum
started this conversation in
New Rule
Replies: 1 comment
-
New rule LC0040 “Explicitly set the RunTrigger parameter on build-in methods.” in the 0.30.9 version of the LinterCop, thanks to @tinestaric! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice to have a rule that checks that
Modify(false)
is used in favor ofModify()
, i.e., be explicit and show that it is intentional to invoke aModify
without validation.The same applies for other methods, like
Insert
,Delete
, ...Beta Was this translation helpful? Give feedback.
All reactions