It's not cool that .lintText requires a callback and ESLint's method is synchronous, but we here force cb for no reason. Or okey, at least add .lintTextSync method?
There is existing problem for https://github.com/dtinth/atom-prettier-standard-formatter, which is based on https://github.com/dtinth/prettier-standard-formatter, which uses promises, exactly because the standards lintText method.
ping @dtinth, stay tuned :)
It's not cool that
.lintTextrequires a callback and ESLint's method is synchronous, but we here forcecbfor no reason. Or okey, at least add.lintTextSyncmethod?There is existing problem for https://github.com/dtinth/atom-prettier-standard-formatter, which is based on https://github.com/dtinth/prettier-standard-formatter, which uses promises, exactly because the
standards lintText method.ping @dtinth, stay tuned :)