From da125dab6669a65cf61400c73d4fcc9107079298 Mon Sep 17 00:00:00 2001 From: Suejung Shin Date: Fri, 15 Nov 2024 13:58:33 -0800 Subject: [PATCH] fix linter --- packages/bundle-analyzer/build.config.ts | 2 +- packages/bundler-plugin-core/build.config.ts | 2 +- packages/nextjs-webpack-plugin/build.config.ts | 2 +- packages/nuxt-plugin/build.config.ts | 2 +- packages/remix-vite-plugin/build.config.ts | 2 +- packages/rollup-plugin/build.config.ts | 2 +- packages/solidstart-plugin/build.config.ts | 2 +- packages/sveltekit-plugin/build.config.ts | 2 +- packages/vite-plugin/build.config.ts | 2 +- packages/webpack-plugin/build.config.ts | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bundle-analyzer/build.config.ts b/packages/bundle-analyzer/build.config.ts index ecbb153e..c0734f35 100644 --- a/packages/bundle-analyzer/build.config.ts +++ b/packages/bundle-analyzer/build.config.ts @@ -33,7 +33,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/bundler-plugin-core/build.config.ts b/packages/bundler-plugin-core/build.config.ts index 60e94922..88893205 100644 --- a/packages/bundler-plugin-core/build.config.ts +++ b/packages/bundler-plugin-core/build.config.ts @@ -21,7 +21,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call @ts-expect-error - using rollup plugin + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/nextjs-webpack-plugin/build.config.ts b/packages/nextjs-webpack-plugin/build.config.ts index 3e1ba480..144aeb90 100644 --- a/packages/nextjs-webpack-plugin/build.config.ts +++ b/packages/nextjs-webpack-plugin/build.config.ts @@ -28,7 +28,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/nuxt-plugin/build.config.ts b/packages/nuxt-plugin/build.config.ts index d6997344..846f93af 100644 --- a/packages/nuxt-plugin/build.config.ts +++ b/packages/nuxt-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call @ts-expect-error - using rollup plugin + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/remix-vite-plugin/build.config.ts b/packages/remix-vite-plugin/build.config.ts index d3a53d06..846f93af 100644 --- a/packages/remix-vite-plugin/build.config.ts +++ b/packages/remix-vite-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/rollup-plugin/build.config.ts b/packages/rollup-plugin/build.config.ts index b5e74e79..fae0787c 100644 --- a/packages/rollup-plugin/build.config.ts +++ b/packages/rollup-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/solidstart-plugin/build.config.ts b/packages/solidstart-plugin/build.config.ts index d3a53d06..846f93af 100644 --- a/packages/solidstart-plugin/build.config.ts +++ b/packages/solidstart-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/sveltekit-plugin/build.config.ts b/packages/sveltekit-plugin/build.config.ts index d3a53d06..846f93af 100644 --- a/packages/sveltekit-plugin/build.config.ts +++ b/packages/sveltekit-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/vite-plugin/build.config.ts b/packages/vite-plugin/build.config.ts index d3a53d06..846f93af 100644 --- a/packages/vite-plugin/build.config.ts +++ b/packages/vite-plugin/build.config.ts @@ -29,7 +29,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins, diff --git a/packages/webpack-plugin/build.config.ts b/packages/webpack-plugin/build.config.ts index 3e1ba480..144aeb90 100644 --- a/packages/webpack-plugin/build.config.ts +++ b/packages/webpack-plugin/build.config.ts @@ -28,7 +28,7 @@ export default defineBuildConfig({ hooks: { "rollup:options": (_ctx, opts) => { if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises opts.plugins = [ // @ts-expect-error - using rollup plugin ...opts.plugins,