{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vetur/issues/996","repository_url":"https://api.github.com/repos/vuejs/vetur","labels_url":"https://api.github.com/repos/vuejs/vetur/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vetur/issues/996/comments","events_url":"https://api.github.com/repos/vuejs/vetur/issues/996/events","html_url":"https://github.com/vuejs/vetur/issues/996","id":385116685,"node_id":"MDU6SXNzdWUzODUxMTY2ODU=","number":996,"title":"prettier config not work","user":{"login":"yuicer","id":23371475,"node_id":"MDQ6VXNlcjIzMzcxNDc1","avatar_url":"https://avatars1.githubusercontent.com/u/23371475?v=4","gravatar_id":"","url":"https://api.github.com/users/yuicer","html_url":"https://github.com/yuicer","followers_url":"https://api.github.com/users/yuicer/followers","following_url":"https://api.github.com/users/yuicer/following{/other_user}","gists_url":"https://api.github.com/users/yuicer/gists{/gist_id}","starred_url":"https://api.github.com/users/yuicer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuicer/subscriptions","organizations_url":"https://api.github.com/users/yuicer/orgs","repos_url":"https://api.github.com/users/yuicer/repos","events_url":"https://api.github.com/users/yuicer/events{/privacy}","received_events_url":"https://api.github.com/users/yuicer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-28T06:11:34Z","updated_at":"2018-11-28T07:04:10Z","closed_at":"2018-11-28T07:03:44Z","author_association":"NONE","body":"- [x] I have searched through existing issues\r\n- [x] I have read through [docs](https://vuejs.github.io/vetur)\r\n- [x] I have read [FAQ](https://github.com/vuejs/vetur/blob/master/docs/FAQ.md)\r\n\r\n## Info\r\n\r\n- Platform: macOS\r\n- Vetur version: 0.14.2\r\n- VS Code version: 1.29.1\r\n\r\n## Problem\r\n\r\nthe formatter always add the semi and doubleQuote in the .vue file\r\nand the formatter will not read the config such as \r\n```json\r\n  \"prettier.semi\": false,\r\n  \"prettier.singleQuote\": true\r\n```\r\nor the \r\n```json\r\n\"vetur.format.defaultFormatterOptions\": {\r\n  \"prettier\": {\r\n    // Prettier option here\r\n    \"semi\": false\r\n  }\r\n}\r\n```\r\n\r\nit just work with the .prettierrc file in the root path of the project\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vetur/issues/comments/442341820","html_url":"https://github.com/vuejs/vetur/issues/996#issuecomment-442341820","issue_url":"https://api.github.com/repos/vuejs/vetur/issues/996","id":442341820,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM0MTgyMA==","user":{"login":"octref","id":4033249,"node_id":"MDQ6VXNlcjQwMzMyNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/4033249?v=4","gravatar_id":"","url":"https://api.github.com/users/octref","html_url":"https://github.com/octref","followers_url":"https://api.github.com/users/octref/followers","following_url":"https://api.github.com/users/octref/following{/other_user}","gists_url":"https://api.github.com/users/octref/gists{/gist_id}","starred_url":"https://api.github.com/users/octref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octref/subscriptions","organizations_url":"https://api.github.com/users/octref/orgs","repos_url":"https://api.github.com/users/octref/repos","events_url":"https://api.github.com/users/octref/events{/privacy}","received_events_url":"https://api.github.com/users/octref/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T07:04:10Z","updated_at":"2018-11-28T07:04:10Z","author_association":"MEMBER","body":"```json\r\n\"vetur.format.defaultFormatterOptions\": {\r\n  \"prettier\": {\r\n    // Prettier option here\r\n    \"semi\": false\r\n  }\r\n}\r\n```\r\n\r\nThis is only used when Vetur cannot find a prettierrc."}}
{"actor":{"display_login":"octref"}}