{"action":"created","issue":{"url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/126","repository_url":"https://api.github.com/repos/rtfeldman/seamless-immutable","labels_url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/126/comments","events_url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/126/events","html_url":"https://github.com/rtfeldman/seamless-immutable/pull/126","id":151526714,"number":126,"title":"Immutable.from (a reference to Immutable)","user":{"login":"ericclemmons","id":15182,"avatar_url":"https://avatars.githubusercontent.com/u/15182?v=3","gravatar_id":"","url":"https://api.github.com/users/ericclemmons","html_url":"https://github.com/ericclemmons","followers_url":"https://api.github.com/users/ericclemmons/followers","following_url":"https://api.github.com/users/ericclemmons/following{/other_user}","gists_url":"https://api.github.com/users/ericclemmons/gists{/gist_id}","starred_url":"https://api.github.com/users/ericclemmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericclemmons/subscriptions","organizations_url":"https://api.github.com/users/ericclemmons/orgs","repos_url":"https://api.github.com/users/ericclemmons/repos","events_url":"https://api.github.com/users/ericclemmons/events{/privacy}","received_events_url":"https://api.github.com/users/ericclemmons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-28T01:08:18Z","updated_at":"2016-04-29T15:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rtfeldman/seamless-immutable/pulls/126","html_url":"https://github.com/rtfeldman/seamless-immutable/pull/126","diff_url":"https://github.com/rtfeldman/seamless-immutable/pull/126.diff","patch_url":"https://github.com/rtfeldman/seamless-immutable/pull/126.patch"},"body":"This is a PR in response to #123, which allows users who follow & lint the condition that `new` precedes any capitalized, constructor function to use this library without littering their codebase with `// eslint-disable-line` comments:\r\n> http://eslint.org/docs/rules/new-cap\r\n\r\n**Before**:\r\n\r\n```js\r\nconst thing = Immutable({}); // eslint-disable-line\r\n```\r\n\r\n**After**:\r\n\r\n```js\r\nconst thing = Immutable.from({});\r\n````\r\n\r\nI did a find/replace for `= Immutable(` to `= Immutable.from` in `test/`, and all 2108 tests still pass."},"comment":{"url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/comments/215765510","html_url":"https://github.com/rtfeldman/seamless-immutable/pull/126#issuecomment-215765510","issue_url":"https://api.github.com/repos/rtfeldman/seamless-immutable/issues/126","id":215765510,"user":{"login":"ericclemmons","id":15182,"avatar_url":"https://avatars.githubusercontent.com/u/15182?v=3","gravatar_id":"","url":"https://api.github.com/users/ericclemmons","html_url":"https://github.com/ericclemmons","followers_url":"https://api.github.com/users/ericclemmons/followers","following_url":"https://api.github.com/users/ericclemmons/following{/other_user}","gists_url":"https://api.github.com/users/ericclemmons/gists{/gist_id}","starred_url":"https://api.github.com/users/ericclemmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericclemmons/subscriptions","organizations_url":"https://api.github.com/users/ericclemmons/orgs","repos_url":"https://api.github.com/users/ericclemmons/repos","events_url":"https://api.github.com/users/ericclemmons/events{/privacy}","received_events_url":"https://api.github.com/users/ericclemmons/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T15:41:26Z","updated_at":"2016-04-29T15:41:26Z","body":"@rtfeldman Let me know if you'd like any other changes!\r\n> https://github.com/ericclemmons/seamless-immutable/blob/123-from/README.md#immutablefrom "}}