{
  "context-menu": {
    "atom-text-editor[data-grammar='source js']": [
      {
        "label": "Format With prettier",
        "command": "prettier:format"
      }
    ]
  },
  "menu": [
    {
      "label": "Packages",
      "submenu": [
        {
          "label": "prettier",
          "submenu": [
            {
              "label": "Format",
              "command": "prettier:format"
            }
          ]
        }
      ]
    }
  ]
}

{
  "context-menu": {
    "atom-text-editor[data-grammar='source js'], atom-text-editor[data-grammar='source js jsx']": [
      {
        "label": "Format With prettier",
        "command": "prettier:format"
      }
    ]
  },
  "menu": [
    {
      "label": "Packages",
      "submenu": [
        {
          "label": "prettier",
          "submenu": [
            {
              "label": "Format",
              "command": "prettier:format"
            }
          ]
        }
      ]
    }
  ]
}

Enable context menu entry for JSX files
fix(contextMenu): Enable context menu entry for JSX files

Using Prettier through context menus was not possible on files with JSX syntax highlight ('Babel',
'JavaScript with JSX').
