Add new severity and text_extra options when commenting.

Review Request #11564 — Created March 30, 2021 and updated

chipx86
ReviewBot
release-3.0.x
reviewbot

This introduces two new standard options for comments:

  • severity is a severity indicator, as provided by the tool. This can
    be used to help differentiate between errors, stylistic issues, or any
    other criteria offered by a tool.

  • text_extra is a list of tuples, each in (Header, Value) form.
    These are used for adding custom tool-specific information at the end
    of the comment text, after any built-in ones like Severity,
    Column, or Error code.

Unit tests passed.

Used these in an upcoming change.

Summary
Add new severity and text_extra options when commenting.
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2. 
      
Loading...