UNPKG

@cspell/eslint-plugin

Version:
9 lines 310 B
import { runAsWorker } from 'synckit'; let spellChecker; runAsWorker(async (filename, text, ranges, options) => { if (!spellChecker) { spellChecker = await import('./spellCheck.mjs'); } return spellChecker.spellCheck(filename, text, ranges, options); }); //# sourceMappingURL=worker.mjs.map