stylelint
Version:
A mighty CSS linter that helps you avoid errors and enforce conventions.
14 lines (10 loc) • 513 B
JavaScript
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
// NOTE: mathml-tag-names v3 is a pure ESM package,
// so we cannot update it while supporting both ESM and CommonJS.
//
// In addition, mathml-tag-names v2 provides only a JSON file,
// so ESM cannot import it (raises the "ERR_IMPORT_ASSERTION_TYPE_MISSING" error).
// @ts-expect-error -- mathml-tag-names v2 doesn't have type declarations.
const mathMLTags = require('mathml-tag-names');
export default mathMLTags;