Uploaded image for project: 'SonarHTML'
  1. SonarHTML
  2. SONARHTML-118

FP and FN for multiple rules: Support Angular attribute binding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: Rules
    • Labels:

      Description

      https://angular.io/guide/template-syntax#attribute-binding

      Our rules already ignores Angular property bindings (see SONARHTML-92)

      <img [alt]="content.altMessage">
      

      But still reports FP and FN for many rules on attribute binding syntax:

      <img [attr.alt]="content.altMessage">
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quentin.jaquier Quentin Jaquier
              Reporter:
              elena.vilchik Elena Vilchik
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: