Rewrite task to support latest ESLint and options

Fixes #1
0.1.0