{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2751","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2751/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2751/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2751/events","html_url":"https://github.com/eslint/eslint/pull/2751","id":87352751,"number":2751,"title":"adding nofunc-noclass to no-use-before-define rule. (fixes #2750)","user":{"login":"tomaskulich","id":4833191,"avatar_url":"https://avatars.githubusercontent.com/u/4833191?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaskulich","html_url":"https://github.com/tomaskulich","followers_url":"https://api.github.com/users/tomaskulich/followers","following_url":"https://api.github.com/users/tomaskulich/following{/other_user}","gists_url":"https://api.github.com/users/tomaskulich/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaskulich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaskulich/subscriptions","organizations_url":"https://api.github.com/users/tomaskulich/orgs","repos_url":"https://api.github.com/users/tomaskulich/repos","events_url":"https://api.github.com/users/tomaskulich/events{/privacy}","received_events_url":"https://api.github.com/users/tomaskulich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-11T13:46:41Z","updated_at":"2015-06-11T18:05:15Z","closed_at":"2015-06-11T18:05:15Z","pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/2751","html_url":"https://github.com/eslint/eslint/pull/2751","diff_url":"https://github.com/eslint/eslint/pull/2751.diff","patch_url":"https://github.com/eslint/eslint/pull/2751.patch"},"body":"typically, for functions and classes it is OK to be defined \"later\" (in terms of lines of code) than used; currently no-use-before-define allow to supress such warnings for functions, but not for classes; this feature is added by the current commit.\r\n\r\nI don't like nofunc-noclass naming, IMO nofunc, noclass should be two separate independent options; however, nofunc was defined as the enum type and I don't see how I can do this properly without breaking the backwards compatibility."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/111225159","html_url":"https://github.com/eslint/eslint/pull/2751#issuecomment-111225159","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2751","id":111225159,"user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T18:05:15Z","updated_at":"2015-06-11T18:05:15Z","body":"Thanks for the submission. Unfortunately, we can't review this without an issue describing the purpose of the change. Please read over our contribution guidelines and file an issue: http://eslint.org/docs/developer-guide/contributing"}}