nzakas/eslint — pull request #264 by iancmyers (2013-08-21 22:23:19+00:00)
Title: Rule: no-empty-class

The `no-empty-class` rule disallows the use of empty character classes in regular expression literals:

```js
var foo = /^abc[]/;
```

It does not disallow empty character classes in the `RegExp` constructor:

```js
var foo = new RegExp("^abc[]");
```

This rule matches the JSLint rule: http://jslinterrors.com/empty-class/