{"action":"created","issue":{"url":"https://api.github.com/repos/start-react/native-starter-kit/issues/20","repository_url":"https://api.github.com/repos/start-react/native-starter-kit","labels_url":"https://api.github.com/repos/start-react/native-starter-kit/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/start-react/native-starter-kit/issues/20/comments","events_url":"https://api.github.com/repos/start-react/native-starter-kit/issues/20/events","html_url":"https://github.com/start-react/native-starter-kit/issues/20","id":168127985,"number":20,"title":"Code structure is a free for all. Clean it using eslint","user":{"login":"tiaaaa123","id":9055082,"avatar_url":"https://avatars.githubusercontent.com/u/9055082?v=3","gravatar_id":"","url":"https://api.github.com/users/tiaaaa123","html_url":"https://github.com/tiaaaa123","followers_url":"https://api.github.com/users/tiaaaa123/followers","following_url":"https://api.github.com/users/tiaaaa123/following{/other_user}","gists_url":"https://api.github.com/users/tiaaaa123/gists{/gist_id}","starred_url":"https://api.github.com/users/tiaaaa123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiaaaa123/subscriptions","organizations_url":"https://api.github.com/users/tiaaaa123/orgs","repos_url":"https://api.github.com/users/tiaaaa123/repos","events_url":"https://api.github.com/users/tiaaaa123/events{/privacy}","received_events_url":"https://api.github.com/users/tiaaaa123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/start-react/native-starter-kit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"SupriyaKalghatgi","id":13464885,"avatar_url":"https://avatars.githubusercontent.com/u/13464885?v=3","gravatar_id":"","url":"https://api.github.com/users/SupriyaKalghatgi","html_url":"https://github.com/SupriyaKalghatgi","followers_url":"https://api.github.com/users/SupriyaKalghatgi/followers","following_url":"https://api.github.com/users/SupriyaKalghatgi/following{/other_user}","gists_url":"https://api.github.com/users/SupriyaKalghatgi/gists{/gist_id}","starred_url":"https://api.github.com/users/SupriyaKalghatgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SupriyaKalghatgi/subscriptions","organizations_url":"https://api.github.com/users/SupriyaKalghatgi/orgs","repos_url":"https://api.github.com/users/SupriyaKalghatgi/repos","events_url":"https://api.github.com/users/SupriyaKalghatgi/events{/privacy}","received_events_url":"https://api.github.com/users/SupriyaKalghatgi/received_events","type":"User","site_admin":false},"assignees":[{"login":"SupriyaKalghatgi","id":13464885,"avatar_url":"https://avatars.githubusercontent.com/u/13464885?v=3","gravatar_id":"","url":"https://api.github.com/users/SupriyaKalghatgi","html_url":"https://github.com/SupriyaKalghatgi","followers_url":"https://api.github.com/users/SupriyaKalghatgi/followers","following_url":"https://api.github.com/users/SupriyaKalghatgi/following{/other_user}","gists_url":"https://api.github.com/users/SupriyaKalghatgi/gists{/gist_id}","starred_url":"https://api.github.com/users/SupriyaKalghatgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SupriyaKalghatgi/subscriptions","organizations_url":"https://api.github.com/users/SupriyaKalghatgi/orgs","repos_url":"https://api.github.com/users/SupriyaKalghatgi/repos","events_url":"https://api.github.com/users/SupriyaKalghatgi/events{/privacy}","received_events_url":"https://api.github.com/users/SupriyaKalghatgi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-28T15:40:13Z","updated_at":"2016-08-24T13:14:42Z","closed_at":null,"body":"Hey cool product, but when I look at the code, my eyes are crying. DoubleQuote instead of singlequote, missing space, no Props validation.\r\nI recommend you to install those devDependencies and check your code to make it clean 😉\r\n\r\n\r\n```\r\n\"devDependencies\": {\r\n    \"babel-eslint\": \"^6.0.5\",\r\n    \"eslint\": \"^2.13.1\",\r\n    \"eslint-config-airbnb\": \"^9.0.1\",\r\n    \"eslint-plugin-import\": \"^1.9.2\",\r\n    \"eslint-plugin-jsx-a11y\": \"^1.5.3\",\r\n    \"eslint-plugin-react\": \"^5.2.2\",\r\n    \"eslint-plugin-react-native\": \"^1.1.0-beta\",\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/start-react/native-starter-kit/issues/comments/242058821","html_url":"https://github.com/start-react/native-starter-kit/issues/20#issuecomment-242058821","issue_url":"https://api.github.com/repos/start-react/native-starter-kit/issues/20","id":242058821,"user":{"login":"tiaaaa123","id":9055082,"avatar_url":"https://avatars.githubusercontent.com/u/9055082?v=3","gravatar_id":"","url":"https://api.github.com/users/tiaaaa123","html_url":"https://github.com/tiaaaa123","followers_url":"https://api.github.com/users/tiaaaa123/followers","following_url":"https://api.github.com/users/tiaaaa123/following{/other_user}","gists_url":"https://api.github.com/users/tiaaaa123/gists{/gist_id}","starred_url":"https://api.github.com/users/tiaaaa123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiaaaa123/subscriptions","organizations_url":"https://api.github.com/users/tiaaaa123/orgs","repos_url":"https://api.github.com/users/tiaaaa123/repos","events_url":"https://api.github.com/users/tiaaaa123/events{/privacy}","received_events_url":"https://api.github.com/users/tiaaaa123/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T13:14:42Z","updated_at":"2016-08-24T13:14:42Z","body":"Great news!!\r\n\r\nI would recommend using this .eslint configuration :)\r\n\r\n````\r\n{\r\n    \"extends\": \"airbnb/base\",\r\n    \"parser\": \"babel-eslint\",\r\n    \"plugins\": [\r\n        \"react\",\r\n        \"react-native\"\r\n    ],\r\n    \"env\": {\r\n        \"node\": true,\r\n        \"jasmine\": true,\r\n        \"es6\": true,\r\n        \"browser\": true\r\n    },\r\n    \"rules\": {\r\n        \"indent\": [1, 4],\r\n        \"no-console\": 0,\r\n        \"no-unused-vars\": [1, {\"vars\": \"local\", \"args\": \"none\"}],\r\n        \"no-underscore-dangle\": 0,\r\n        \"brace-style\": [\"error\", \"1tbs\", { \"allowSingleLine\": false }],\r\n        \"curly\": 2,\r\n        \"max-len\": [2, 180, 2],\r\n        \"react/forbid-prop-types\": [1, { \"forbid\": [\"any\"] }],\r\n        \"react/jsx-boolean-value\": 1,\r\n        \"react/jsx-closing-bracket-location\": 1,\r\n        \"react/jsx-curly-spacing\": 1,\r\n        \"react/jsx-indent-props\": 1,\r\n        \"react/jsx-key\": 1,\r\n        \"react/jsx-max-props-per-line\": 0,\r\n        \"react/jsx-no-duplicate-props\": 1,\r\n        \"react/jsx-no-undef\": 1,\r\n        \"react/jsx-quotes\": 0,\r\n        \"jsx-quotes\": [2, \"prefer-double\"],\r\n        \"react/jsx-sort-prop-types\": 0,\r\n        \"react/jsx-sort-props\": 1,\r\n        \"react/jsx-uses-react\": 1,\r\n        \"react/jsx-uses-vars\": 1,\r\n        \"react/no-danger\": 1,\r\n        \"react/no-did-mount-set-state\": 1,\r\n        \"react/no-did-update-set-state\": 1,\r\n        \"react/no-direct-mutation-state\": 1,\r\n        \"react/no-multi-comp\": 1,\r\n        \"react/no-set-state\": 0,\r\n        \"react/no-unknown-property\": 1,\r\n        \"react/prefer-es6-class\": 1,\r\n        \"react/prop-types\": 1,\r\n        \"react/react-in-jsx-scope\": 1,\r\n        \"react/require-extension\": 1,\r\n        \"react/self-closing-comp\": 1,\r\n        \"react/sort-comp\": 1,\r\n        \"react/wrap-multilines\": 1,\r\n        \"id-length\": 0,\r\n    },\r\n    \"ecmaFeatures\": {\r\n      \"jsx\": true\r\n    },\r\n}\r\n`\r\n```"}}
{"actor":{"display_login":"tiaaaa123"}}