I have just added eslint-plugin-react
to my react project, while I'm trying to add a button to my project like this:
<button type="submit">submit</button>
eslint starts to blame the code style and throws the following error:
Line 46:55: Strings not allowed in JSX files: "submit" react/jsx-no-literals
any idea on this? any ideas and suggestions would be appreciated :)