It allows suppressing errors or warnings, generated on a particular file, with the inclusion of a comment in the specific XML file. The comment should look like this:
<!-- apigeelint disable=TD004 -->
It needs to appear on the line before the line that would be mentioned in the error or warning.
Also:
updated TD002 to use the correct line number in the warnings, so that they can be properly disabled.
updated BN012 to use the correct module in the error message.
updated BN012 test to be more robust.
added a command-line switch to disable this feature.
added tests for this feature as well as the command-line switch.
This addresses #444 .
It allows suppressing errors or warnings, generated on a particular file, with the inclusion of a comment in the specific XML file. The comment should look like this:
It needs to appear on the line before the line that would be mentioned in the error or warning.
Also: