nzakas/eslint — pull request #127 by iancmyers (2013-07-24 04:41:41+00:00)
Title: Rule: maxstatements

Created maxstatements rule, which allows you to specify the maximum number of statement in a function. Statements in inner functions do not count toward the statement count of the outer function.

```js
// maxstatements: [1, 2] // Maximum of 2 statements.
function foo() {
var bar = 1;
var baz = 2;

var qux = 3; // Too many.
}
```

This rule matches JSHint's **maxstatements** rule.