Add support for linting stdin to CLI

/cc @cvrebert
Use some better name than just `data`