We use styled-jsx for adding styles to our react application. In general, styled-jsx tags look like the following:
<style jsx>{`
.classname-to-style {
padding: 10px;
}
`}</style>
They are part of the component structure in a tsx file. Since recently, this false-positive has shown up that it does not recognize the jsx attribute.
Unknown property ‘jsx’ found
JSX elements should not use unknown properties and attributes typescript:S6747
For more information on styled-jsx, you can look here
Currently, we are closing those code smells as a false positive, but it would be better, if it didn’t show up at all.