Closed toddjordan closed 1 year ago
Some formatters return promises, such as eslint-formatter-todo, which grunt-eslint doesn't currently handle. See https://github.com/lint-todo/eslint-formatter-todo/blob/main/src/formatter.ts#L101
Instead of formatting grunt-eslint gives this:
I think simply making the format call async will properly handle this. I've tried it with both sync and async formatters and seems to work as expected.
Some formatters return promises, such as eslint-formatter-todo, which grunt-eslint doesn't currently handle.
See https://github.com/lint-todo/eslint-formatter-todo/blob/main/src/formatter.ts#L101
Instead of formatting grunt-eslint gives this:
I think simply making the format call async will properly handle this. I've tried it with both sync and async formatters and seems to work as expected.