Closed theoludwig closed 3 years ago
Instead of having sync or callback versions of our APIs, we could migrate them to Promises. By doing this, it makes #234 simpler to solve, as the "new" ESLint class API use Promises.
We will remove Linter.lintTextSync method.
Linter.lintTextSync
Note: It is a BREAKING CHANGE
An extra, probably needless, clarification: We will probably mainly do this through async / await rather than creating Promises directly ourselves 👍
async
await
Instead of having sync or callback versions of our APIs, we could migrate them to Promises. By doing this, it makes #234 simpler to solve, as the "new" ESLint class API use Promises.
We will remove
Linter.lintTextSync
method.Note: It is a BREAKING CHANGE