reactjsstyled-jsx

Unknown property 'jsx' in diferents files using styled-jsx


I am doing a deployment in aws amplify of my application but I get an error when doing the deployment on an unknown jsx property in the files in which I use styled-jsx

screenshot 1:enter image description here screenshot 2:enter image description here


Solution

  • Based on this https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.md#rule-options

    You need to add the jsx/global properties to be ignored in your eslint rules