Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sidmorizon committed Dec 23, 2024
1 parent 18c94e1 commit 23d7e4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/injected/webpack.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* eslint-disable @typescript-eslint/restrict-template-expressions */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-return */
const path = require('path');
const webpack = require('webpack');
const packageJson = require('./package.json');
Expand All @@ -9,10 +12,8 @@ const IS_PRD = process.env.NODE_ENV === 'production';
console.log('============ , IS_PRD', IS_PRD, process.env.NODE_ENV);

const createAnalyzer = (name) => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-call
return new BundleAnalyzerPlugin({
analyzerMode: 'static',
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
reportFilename: `${name}.bundle-report.html`,
openAnalyzer: false,
});
Expand Down

0 comments on commit 23d7e4f

Please sign in to comment.