JSX not allowed in files with extension '.js' linter code example
Example: JSX not allowed in files with extension '.js'
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
}
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
}