{"action":"created","issue":{"url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/114","repository_url":"https://api.github.com/repos/codeclimate/codeclimate-eslint","labels_url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/114/comments","events_url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/114/events","html_url":"https://github.com/codeclimate/codeclimate-eslint/pull/114","id":170707260,"number":114,"title":"Heuristically filter out minified files","user":{"login":"ABaldwinHunter","id":8718443,"avatar_url":"https://avatars.githubusercontent.com/u/8718443?v=3","gravatar_id":"","url":"https://api.github.com/users/ABaldwinHunter","html_url":"https://github.com/ABaldwinHunter","followers_url":"https://api.github.com/users/ABaldwinHunter/followers","following_url":"https://api.github.com/users/ABaldwinHunter/following{/other_user}","gists_url":"https://api.github.com/users/ABaldwinHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/ABaldwinHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABaldwinHunter/subscriptions","organizations_url":"https://api.github.com/users/ABaldwinHunter/orgs","repos_url":"https://api.github.com/users/ABaldwinHunter/repos","events_url":"https://api.github.com/users/ABaldwinHunter/events{/privacy}","received_events_url":"https://api.github.com/users/ABaldwinHunter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-11T17:59:55Z","updated_at":"2016-08-11T20:25:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/pulls/114","html_url":"https://github.com/codeclimate/codeclimate-eslint/pull/114","diff_url":"https://github.com/codeclimate/codeclimate-eslint/pull/114.diff","patch_url":"https://github.com/codeclimate/codeclimate-eslint/pull/114.patch"},"body":"By default we filter out minified files that are identifiable as minified from\r\ntheir filename (e.g. *.min.js), but many projects have minified files that\r\ndon't match those patterns, and these files can cause ESLint to segfault in a\r\ncontainer environment (possibly due to memory pressure).\r\n\r\nThis adds a new heuristic filter based on line length that filters out files\r\nthat appear to be minified to prevent them being analyzed. For any matching\r\nfiles, a log message is sent to stderr notifying that the file is being\r\nskipped.\r\n\r\n@codeclimate/review @wfleming \r\n\r\nNote: tested locally on 8 repos and saw minimal performance loss. There are some minified files that we currently analyze successfully and this change would mean ignoring them instead. We think that is okay."},"comment":{"url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/comments/239281131","html_url":"https://github.com/codeclimate/codeclimate-eslint/pull/114#issuecomment-239281131","issue_url":"https://api.github.com/repos/codeclimate/codeclimate-eslint/issues/114","id":239281131,"user":{"login":"ABaldwinHunter","id":8718443,"avatar_url":"https://avatars.githubusercontent.com/u/8718443?v=3","gravatar_id":"","url":"https://api.github.com/users/ABaldwinHunter","html_url":"https://github.com/ABaldwinHunter","followers_url":"https://api.github.com/users/ABaldwinHunter/followers","following_url":"https://api.github.com/users/ABaldwinHunter/following{/other_user}","gists_url":"https://api.github.com/users/ABaldwinHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/ABaldwinHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABaldwinHunter/subscriptions","organizations_url":"https://api.github.com/users/ABaldwinHunter/orgs","repos_url":"https://api.github.com/users/ABaldwinHunter/repos","events_url":"https://api.github.com/users/ABaldwinHunter/events{/privacy}","received_events_url":"https://api.github.com/users/ABaldwinHunter/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T20:25:20Z","updated_at":"2016-08-11T20:25:20Z","body":"@GordonDiggs Thanks! Relax looks good "}}
{"actor":{"display_login":"ABaldwinHunter"}}