Skip to content
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

feat: Enable eslint plugin to call Async methods. #4080

Merged
merged 5 commits into from
Feb 1, 2023
Merged

feat: Enable eslint plugin to call Async methods. #4080

merged 5 commits into from
Feb 1, 2023

Conversation

Jason3S
Copy link
Collaborator

@Jason3S Jason3S commented Feb 1, 2023

By its nature, CSpell is Async.
At its core, ESLint is Sync.

Related to: eslint/eslint#15394

Special Sync versions of CSpell methods had been made to support Synchronous validation of documents, but this is very difficult to support when configuration can be loaded via http requests.

The workaround is to use SyncKit as suggested here: eslint/eslint#15394 (comment)

@Jason3S Jason3S merged commit d1c69f1 into main Feb 1, 2023
@Jason3S Jason3S deleted the dev-eslint branch February 1, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant