-
Type: New Feature
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Development Platform
There is a pretty unpleasant problem with the evergreen task "lint_errorcodes" - it turns out it doesn't "know" when some error codes are inside a comment.
I commented out a certain version of some functions, and added a slightly different version of the same functions. The commented and the actual code used the same assertions.
When I ran evergreen tests, lint_errorcodes failed because it considered the error codes in the commented out assertions as duplicates of the actual ones.
Is there a way to tell the linter to ignore commented code?