next JSX not allowed in files with extension '.jsx'eslintreact/jsx-filename-extension 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"] }],
}