chore(eslint): upgrade to eslint v9 and flat config (#2909)
This commit is contained in:
parent
6f85f48b19
commit
a34839f001
6 changed files with 310 additions and 230 deletions
|
|
@ -12,7 +12,6 @@ export default function prismIncludeLanguages(PrismObject) {
|
|||
// long as you don't re-assign it
|
||||
globalThis.Prism = PrismObject;
|
||||
additionalLanguages.forEach((lang) => {
|
||||
// eslint-disable-next-line global-require
|
||||
require(`prismjs/components/prism-${lang}`);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue