{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/linter/issues/363","repository_url":"https://api.github.com/repos/dart-lang/linter","labels_url":"https://api.github.com/repos/dart-lang/linter/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/linter/issues/363/comments","events_url":"https://api.github.com/repos/dart-lang/linter/issues/363/events","html_url":"https://github.com/dart-lang/linter/issues/363","id":194501097,"number":363,"title":"Lint to prefer `isEmpty`.","user":{"login":"pq","id":67586,"avatar_url":"https://avatars0.githubusercontent.com/u/67586?v=3","gravatar_id":"","url":"https://api.github.com/users/pq","html_url":"https://github.com/pq","followers_url":"https://api.github.com/users/pq/followers","following_url":"https://api.github.com/users/pq/following{/other_user}","gists_url":"https://api.github.com/users/pq/gists{/gist_id}","starred_url":"https://api.github.com/users/pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pq/subscriptions","organizations_url":"https://api.github.com/users/pq/orgs","repos_url":"https://api.github.com/users/pq/repos","events_url":"https://api.github.com/users/pq/events{/privacy}","received_events_url":"https://api.github.com/users/pq/received_events","type":"User","site_admin":false},"labels":[{"id":165917059,"url":"https://api.github.com/repos/dart-lang/linter/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":177178374,"url":"https://api.github.com/repos/dart-lang/linter/labels/lint%20request","name":"lint request","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-09T02:51:23Z","updated_at":"2017-03-14T22:03:53Z","closed_at":"2017-03-14T22:03:53Z","body":"We have `prefer_is_not_empty` but we should also check for chances to use `isEmpty`.  IOW: `list.isEmpty` should be preferred over `list.length == 0`.\r\n\r\nMore context in the conversation here: https://github.com/flutter/flutter/pull/7207."}}
{"actor":{"display_login":"pq"}}