From 23d7e4f8eae4d3a5b343c703fb18a533b752f1cd Mon Sep 17 00:00:00 2001 From: morizon Date: Mon, 23 Dec 2024 17:41:40 +0800 Subject: [PATCH] fix: lint --- packages/injected/webpack.config.cjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/injected/webpack.config.cjs b/packages/injected/webpack.config.cjs index 01626445..e488d160 100644 --- a/packages/injected/webpack.config.cjs +++ b/packages/injected/webpack.config.cjs @@ -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'); @@ -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, });