-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move APIs to Promise #249
Labels
Milestone
Comments
2 tasks
An extra, probably needless, clarification: We will probably mainly do this through |
4 tasks
voxpelli
added a commit
that referenced
this issue
Oct 3, 2021
Fixes #249 Changes the callback based API:s to instead be async and return Promises. Also removes the sync versions of the API:s, to allow for eg. async `resolveEslintConfig`
voxpelli
added a commit
that referenced
this issue
Oct 3, 2021
Fixes #249 Changes the callback based API:s to instead be async and return Promises.
voxpelli
added a commit
that referenced
this issue
Oct 3, 2021
Fixes #249 Changes the callback based API:s to instead be async and return Promises.
voxpelli
added a commit
that referenced
this issue
Oct 14, 2021
* Add editorconfig * BREAKING: Make Promise based Fixes #249 Changes the callback based API:s to instead be async and return Promises. * Keep cli() not returning a promise
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: