nzakas/eslint — pull request #142 by jamesallardice (2013-07-26 13:29:00+00:00)
Title: Bug fix: no-return-assign rule

The `return` statement does not require an argument:

```javascript
function example() {
return; // This currently causes ESLint to throw an error
}
```

This fixes the above issue by checking that the `argument` property of the `ReturnStatement` node is truthy (in the above case it will be `null`) before testing its `type` property.