// Using exported name 'DOMPurify' as identifier for default export. (import-x/no-named-as-default)
import DOMPurify from "dompurify"; // DOMPurify's exported name is a type, not the default exportimport { default as DOMPurify } from "dompurify";import tseslint from "typescript-eslint";
export default [
// Caution: `tseslint` also has a named export `configs`. Check if you meant to write `import {configs} from 'typescript-eslint'` instead. (import-x/no-named-as-default-member)
tseslint.configs.recommendedTypeChecked,
]Clearly, import { configs } from "typescript-eslint" would only be more confusing in an ESLint file rather than less. In which case, use a namespaced export:
import * as tseslint from "typescript-eslint";
export default [
tseslint.configs.recommendedTypeChecked,
]