Skip to content

Commit

Permalink
Source-loader: Disable no-implicit-any linting (#9272)
Browse files Browse the repository at this point in the history
Source-loader: Disable no-implicit-any linting
  • Loading branch information
shilman authored Dec 30, 2019
2 parents 3d804cd + d31b414 commit 0870b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/source-loader/src/server/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function transform(inputSource) {
idsToFrameworks,
}) => {
const preamble = `
/* eslint-disable no-unused-vars,@typescript-eslint/no-unused-vars */
/* eslint-disable no-unused-vars,@typescript-eslint/no-unused-vars,@typescript-eslint/no-implicit-any */
// @ts-ignore
var withSourceLoader = require('@storybook/source-loader/preview').withSource;
// @ts-ignore
Expand All @@ -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 no-unused-vars,@typescript-eslint/no-unused-vars,@typescript-eslint/no-implicit-any */
`;
return insertAfterImports(this, preamble, source);
// return `${preamble}${source}`;
Expand Down

1 comment on commit 0870b23

@vercel
Copy link

@vercel vercel bot commented on 0870b23 Dec 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.