eslint-plugin-markup
Version:
An incredible ESLint plugin for all markup languages based on markuplint
13 lines • 421 B
JavaScript
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { createSyncFn } from 'synckit';
const _dirname = typeof __dirname === 'undefined'
? path.dirname(fileURLToPath(import.meta.url))
: __dirname;
const workerPath = path.resolve(_dirname, './worker.mjs');
export const sync = {
get markuplintSync() {
return createSyncFn(workerPath);
},
};
//# sourceMappingURL=sync.js.map