{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier-atom/issues/398","repository_url":"https://api.github.com/repos/prettier/prettier-atom","labels_url":"https://api.github.com/repos/prettier/prettier-atom/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier-atom/issues/398/comments","events_url":"https://api.github.com/repos/prettier/prettier-atom/issues/398/events","html_url":"https://github.com/prettier/prettier-atom/issues/398","id":308010052,"number":398,"title":"Tree sitter and default config","user":{"login":"iamphill","id":741068,"avatar_url":"https://avatars0.githubusercontent.com/u/741068?v=4","gravatar_id":"","url":"https://api.github.com/users/iamphill","html_url":"https://github.com/iamphill","followers_url":"https://api.github.com/users/iamphill/followers","following_url":"https://api.github.com/users/iamphill/following{/other_user}","gists_url":"https://api.github.com/users/iamphill/gists{/gist_id}","starred_url":"https://api.github.com/users/iamphill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamphill/subscriptions","organizations_url":"https://api.github.com/users/iamphill/orgs","repos_url":"https://api.github.com/users/iamphill/repos","events_url":"https://api.github.com/users/iamphill/events{/privacy}","received_events_url":"https://api.github.com/users/iamphill/received_events","type":"User","site_admin":false},"labels":[{"id":515022978,"url":"https://api.github.com/repos/prettier/prettier-atom/labels/bug","name":"bug","color":"ee0701","default":true},{"id":515022980,"url":"https://api.github.com/repos/prettier/prettier-atom/labels/enhancement","name":"enhancement","color":"bfd4f2","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-23T12:24:41Z","updated_at":"2018-03-23T15:10:22Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nBefore you post an issue, please ensure that your issue is not with the\r\n[prettier](https://github.com/prettier/prettier) or\r\n[prettier-eslint](https://github.com/prettier/prettier-eslint) packages. This is just the\r\natom plugin that calls these packages under the hood.\r\n\r\nDescribe your issue here with as many details as possible\r\n-->\r\n\r\nThe latest version of Atom brought experimental tree sitter support. When enabled, prettier format on save doesn't work. It looks like the grammar names have changed within tree sitter.\r\n\r\nI can of course override this & add in the new languages. However when tree sitter eventually becomes default prettier will no longer work out the box.\r\n\r\n<!--\r\nPaste the output of the `Prettier: Debug` command below.\r\nProtip: you can use a <details> tag to hide or show really large elements.\r\n\r\nFor example:\r\n<details>\r\n  A really long text\r\n</details>\r\n-->\r\n\r\n<details>\r\nAtom version: 1.25.0\r\nprettier-atom version: 0.52.0\r\nprettier version: 1.11.1\r\nprettier-eslint version: 8.8.1\r\nprettier-atom configuration: {\r\n  \"formatOnSaveOptions\": {\r\n    \"enabled\": true,\r\n    \"isDisabledIfNoConfigFile\": true,\r\n    \"respectEslintignore\": true,\r\n    \"showInStatusBar\": false,\r\n    \"excludedGlobs\": [],\r\n    \"whitelistedGlobs\": [],\r\n    \"isDisabledIfNotInPackageJson\": false\r\n  },\r\n  \"prettierEslintOptions\": {\r\n    \"prettierLast\": true\r\n  },\r\n  \"prettierOptions\": {\r\n    \"bracketSpacing\": false,\r\n    \"singleQuote\": true,\r\n    \"trailingComma\": \"all\",\r\n    \"semi\": true,\r\n    \"useTabs\": false,\r\n    \"jsxBracketSameLine\": false,\r\n    \"printWidth\": 80,\r\n    \"tabWidth\": \"auto\",\r\n    \"parser\": \"babylon\",\r\n    \"arrowParens\": \"avoid\"\r\n  },\r\n  \"useEslint\": false,\r\n  \"useStylelint\": false,\r\n  \"useEditorConfig\": true,\r\n  \"scopes\": {\r\n    \"javascript\": [\r\n      \"source.js\",\r\n      \"source.jsx\",\r\n      \"source.js.jsx\",\r\n      \"source.babel\",\r\n      \"source.js-semantic\",\r\n      \"text.html.basic\",\r\n      \"text.html.vue\"\r\n    ],\r\n    \"typescript\": [\r\n      \"source.ts\",\r\n      \"source.tsx\",\r\n      \"source.ts.tsx\"\r\n    ],\r\n    \"css\": [\r\n      \"source.css\",\r\n      \"source.less\",\r\n      \"source.css.less\",\r\n      \"source.scss\",\r\n      \"source.css.scss\",\r\n      \"source.css.postcss\"\r\n    ],\r\n    \"json\": [\r\n      \"source.json\"\r\n    ],\r\n    \"graphQl\": [\r\n      \"source.graphql\"\r\n    ],\r\n    \"markdown\": [\r\n      \"source.md\",\r\n      \"source.gfm\",\r\n      \"text.md\"\r\n    ],\r\n    \"vue\": [\r\n      \"text.html.vue\"\r\n    ]\r\n  }\r\n}\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/prettier/prettier-atom/issues/comments/375696889","html_url":"https://github.com/prettier/prettier-atom/issues/398#issuecomment-375696889","issue_url":"https://api.github.com/repos/prettier/prettier-atom/issues/398","id":375696889,"user":{"login":"iamphill","id":741068,"avatar_url":"https://avatars0.githubusercontent.com/u/741068?v=4","gravatar_id":"","url":"https://api.github.com/users/iamphill","html_url":"https://github.com/iamphill","followers_url":"https://api.github.com/users/iamphill/followers","following_url":"https://api.github.com/users/iamphill/following{/other_user}","gists_url":"https://api.github.com/users/iamphill/gists{/gist_id}","starred_url":"https://api.github.com/users/iamphill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamphill/subscriptions","organizations_url":"https://api.github.com/users/iamphill/orgs","repos_url":"https://api.github.com/users/iamphill/repos","events_url":"https://api.github.com/users/iamphill/events{/privacy}","received_events_url":"https://api.github.com/users/iamphill/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T15:10:22Z","updated_at":"2018-03-23T15:10:22Z","author_association":"NONE","body":"@olsonpm Yeah atom's scopes."}}
{"actor":{"display_login":"iamphill"}}