JSX Typescript: Unknown property 'fetchPriority' found

JSX elements should not use unknown properties and attributes typescript:S6747

  • which versions are you using : sonarqube-enterprise Version 10.3 (build 82913)
  • what are you trying to achieve: CI is blocked due to this error
  • what are you trying to achieve: Simply into the JSX introduce an element and define fetchPriority attribute
  • what have you tried so far to achieve this: //NOSONAR

Hey there.

Thanks for the report! We’re aare of this false-positive and there’s an existing ticket:

https://sonarsource.atlassian.net/browse/JS-23

In the meantime you can mark the issue as a false-positive, or adjust the rule config in your Quality Profile to add the property to an allow list.

Hey Colin, we ignored the issue in the meantime.

Thanks for answering me and have a nice day

1 Like