orgenic/orgenic-ui

Linting stage errors

Opened this issue · 0 comments

Describe the bug
Everytime i use an orgenic-ui button, i get linting errors in the build pipeline and in my Webstorm IDE, which is fairly annoying, because i have to use @ts-ignore. Which is of course not a great workaround.
So is there a config, where i can tell my IDE and the GitLab CI how to properly lint the og-button?
Errors like this:

Warning:(36, 8) Unknown html tag og-button
Error:(40, 9) Event clicked is not emitted by any applicable directives nor by og-button element

Steps to reproduce the behavior

  1. Implement an Orgenic-UI Button e.g.
      <og-button
        i18n-label="@@web.contact.button"
        class="button"
        label="Jetzt kontaktieren"
        (clicked)="send()"
      ></og-button>
  1. See linting errors in Webstorm

Expected behavior
As the code compiles and works just fine, the linting error is just annoying, but the code is not fundamentally broken. So i would expect to not see any linting errors for the og-button if used properly.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • IDE: WebStorm