diff --git a/lib/source-loader/src/server/build.js b/lib/source-loader/src/server/build.js index 50999c595355..cc0fe7bebed3 100644 --- a/lib/source-loader/src/server/build.js +++ b/lib/source-loader/src/server/build.js @@ -37,7 +37,7 @@ export function transform(inputSource) { idsToFrameworks, }) => { const preamble = ` -/* eslint-disable no-unused-vars,@typescript-eslint/no-unused-vars */ +/* eslint-disable */ // @ts-ignore var withSourceLoader = require('@storybook/source-loader/preview').withSource; // @ts-ignore @@ -56,7 +56,7 @@ var __MODULE_DEPENDENCIES__ = ${JSON.stringify(dependencies)}; var __LOCAL_DEPENDENCIES__ = ${JSON.stringify(localDependencies)}; // @ts-ignore var __IDS_TO_FRAMEWORKS__ = ${JSON.stringify(idsToFrameworks)}; -/* eslint-enable no-unused-vars,@typescript-eslint/no-unused-vars */ +/* eslint-enable */ `; return insertAfterImports(this, preamble, source); // return `${preamble}${source}`;