{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/109","repository_url":"https://api.github.com/repos/prettier/eslint-plugin-prettier","labels_url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/109/comments","events_url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/109/events","html_url":"https://github.com/prettier/eslint-plugin-prettier/issues/109","id":358348697,"node_id":"MDU6SXNzdWUzNTgzNDg2OTc=","number":109,"title":"eslint failure when i use plugins prettier","user":{"login":"ufoqhmdt","id":1751382,"node_id":"MDQ6VXNlcjE3NTEzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1751382?v=4","gravatar_id":"","url":"https://api.github.com/users/ufoqhmdt","html_url":"https://github.com/ufoqhmdt","followers_url":"https://api.github.com/users/ufoqhmdt/followers","following_url":"https://api.github.com/users/ufoqhmdt/following{/other_user}","gists_url":"https://api.github.com/users/ufoqhmdt/gists{/gist_id}","starred_url":"https://api.github.com/users/ufoqhmdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufoqhmdt/subscriptions","organizations_url":"https://api.github.com/users/ufoqhmdt/orgs","repos_url":"https://api.github.com/users/ufoqhmdt/repos","events_url":"https://api.github.com/users/ufoqhmdt/events{/privacy}","received_events_url":"https://api.github.com/users/ufoqhmdt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-09T04:25:50Z","updated_at":"2018-09-09T05:00:11Z","closed_at":null,"author_association":"NONE","body":"<!-- If you're reporting a bug, please provide the following information to make it easier to triage your issue. If you don't provide this information, your issue may be closed. If a question isn't applicable to your report, feel free to skip it/delete it. -->\r\n\r\n**What version of `eslint` are you using?**\r\n5.5\r\n\r\n**What version of `prettier` are you using?**\r\n1.14.2\r\n\r\n**What version of `eslint-plugin-prettier` are you using?**\r\n2.6.2\r\n\r\n**Please paste any applicable config files that you're using (e.g. `.prettierrc` or `.eslintrc` files)**\r\n\r\n```\r\n{\r\n  \"plugins\": [\r\n    \"react\",\r\n    \"standard\",\r\n    \"prettier\"\r\n  ],\r\n  \"parser\": \"babel-eslint\",\r\n  \"env\": {\r\n    \"browser\": true,\r\n    \"commonjs\": true,\r\n    \"node\": true,\r\n    \"es6\": true,\r\n    \"amd\": true\r\n  },\r\n  \"extends\": [\r\n    \"eslint:recommended\",\r\n    \"plugin:react/recommended\",\r\n    \"prettier\",\r\n    \"prettier/react\",\r\n    \"prettier/standard\"\r\n  ],\r\n  \"parserOptions\": {\r\n    \"ecmaVersion\": 9,\r\n    \"sourceType\": \"module\",\r\n    \"ecmaFeatures\": {\r\n      \"esversion\": 9,\r\n      \"destructuring\": true,\r\n      \"generators\": true,\r\n      \"superInFunctions\": true,\r\n      \"experimentalObjectRestSpread\": true,\r\n      \"jsx\": true\r\n    }\r\n  },\r\n  \"rules\": {\r\n    \"prettier/prettier\": [\"error\", \"fb\"],\r\n    \"no-console\": \"warn\",\r\n    \"linebreak-style\": [\r\n      \"error\",\r\n      \"unix\"\r\n    ],\r\n    \"indent\": [\r\n      \"error\",\r\n      2,\r\n      {\r\n        \"SwitchCase\": 1\r\n      }\r\n    ],\r\n    \"semi\": [\r\n      \"error\",\r\n      \"always\"\r\n    ],\r\n    \"react/jsx-uses-react\": \"error\",\r\n    \"react/jsx-uses-vars\": \"error\",\r\n    \"quotes\": [\r\n      \"error\",\r\n      \"single\",\r\n      {\r\n        \"allowTemplateLiterals\": true\r\n      }\r\n    ],\r\n\r\n    \"space-before-function-paren\": [\r\n      \"off\",\r\n      {\r\n        \"anonymous\": \"always\",\r\n        \"named\": \"always\"\r\n      }\r\n    ]\r\n  }\r\n\r\n}\r\n```\r\n\r\n\r\n**What source code are you linting?**\r\n\r\n```\r\n@observer\r\nclass AsyncTree extends React.Component {\r\n  renderTreeNodes = data => {\r\n    return data.map(item => {\r\n      if (item.children) {\r\n        return (\r\n          <TreeNode\r\n            title={item.title}\r\n            key={item.key}\r\n            disableCheckbox={item.disableCheckbox}\r\n            dataRef={item}\r\n            className={classNames(\r\n              'auto-tree-node',\r\n              `auto-tree-node-${item.nodeIconType}`,\r\n            )}\r\n          >\r\n            {this.renderTreeNodes(item.children)}\r\n          </TreeNode>\r\n        );\r\n      }\r\n      return (\r\n        <TreeNode\r\n          {...item}\r\n          dataRef={item}\r\n          className={classNames(\r\n            'auto-tree-node',\r\n            `auto-tree-node-${item.nodeIconType}`,\r\n          )}\r\n        />\r\n      );\r\n    });\r\n  };\r\n  render() {\r\n```\r\n\r\n\r\n**What did you expect to happen?**\r\ncan be working!\r\n\r\n**What actually happened?**\r\n![image](https://user-images.githubusercontent.com/1751382/45261075-57892800-b42b-11e8-8830-d5c850af6bec.png)\r\n"},"comment":{"url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/comments/419691080","html_url":"https://github.com/prettier/eslint-plugin-prettier/issues/109#issuecomment-419691080","issue_url":"https://api.github.com/repos/prettier/eslint-plugin-prettier/issues/109","id":419691080,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTY5MTA4MA==","user":{"login":"ufoqhmdt","id":1751382,"node_id":"MDQ6VXNlcjE3NTEzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1751382?v=4","gravatar_id":"","url":"https://api.github.com/users/ufoqhmdt","html_url":"https://github.com/ufoqhmdt","followers_url":"https://api.github.com/users/ufoqhmdt/followers","following_url":"https://api.github.com/users/ufoqhmdt/following{/other_user}","gists_url":"https://api.github.com/users/ufoqhmdt/gists{/gist_id}","starred_url":"https://api.github.com/users/ufoqhmdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufoqhmdt/subscriptions","organizations_url":"https://api.github.com/users/ufoqhmdt/orgs","repos_url":"https://api.github.com/users/ufoqhmdt/repos","events_url":"https://api.github.com/users/ufoqhmdt/events{/privacy}","received_events_url":"https://api.github.com/users/ufoqhmdt/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T05:00:11Z","updated_at":"2018-09-09T05:00:11Z","author_association":"NONE","body":"` ✘ didi@MacBook-Pro-2  ~/workspaces/sh-fe/auto/afe-auto-prime-web   feature_financial_plan ●✚  npx eslint src --fix\r\nWarning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration.\r\nUnexpected token @ (9:1)\r\n   7 | const TreeNode = Tree.TreeNode;\r\n   8 |\r\n>  9 | @observer\r\n     | ^\r\n  10 | class AsyncTree extends React.Component {\r\n  11 |   renderTreeNodes = data => {\r\n  12 |     return data.map(item => {`"}}
{"actor":{"display_login":"ufoqhmdt"}}