PolymerElements / paper-item

Material Design list items
https://www.webcomponents.org/element/PolymerElements/paper-item
33 stars 34 forks source link

[1.x] analyzer warning: ScannedBehavior has both HTML doc and JSDoc comments #117

Open web-padawan opened 7 years ago

web-padawan commented 7 years ago

Description

The following warning is produced by polymer-analyzer:

  Polymer.PaperItemBehaviorImpl = {
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    hostAttributes: {
~~~~~~~~~~~~~~~~~~~~~
      role: 'option',
~~~~~~~~~~~~~~~~~~~~~
      tabindex: '0'
~~~~~~~~~~~~~~~~~~~
    }
~~~~~
  };
~~~~

The reason is this issue

Actually behaviors should only have a JSDoc comment, so I suggest getting rid of HTML comment at all.