Answers for "ESLINT jsx extension"

4

JSX not allowed in files with extension '.js'

"rules": {
  "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
}
Posted by: Guest on May-04-2020

Code answers related to "ESLINT jsx extension"

Code answers related to "Javascript"

Browse Popular Code Answers by Language