We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447408f commit a4198bbCopy full SHA for a4198bb
docs/.vitepress/build-system/src/eslint.mjs
@@ -1,5 +1,8 @@
1
// @ts-nocheck
2
-import * as all from '../../../../node_modules/eslint/lib/linter/linter.js'
3
-const Linter = all.Linter
4
-export { Linter }
5
-export default { Linter }
+/* eslint-disable unicorn/prefer-export-from -- exporting as named and default is less duplication without `export…from` */
+
+import { Linter } from '../../../../node_modules/eslint/lib/linter/linter.js'
+import SourceCode from '../../../../node_modules/eslint/lib/source-code/source-code.js'
6
7
+export { Linter, SourceCode }
8
+export default { Linter, SourceCode }
0 commit comments