Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix lint-eslint-pure warning noise in fresh worktrees (#81214)

Stas Gavrylovdaf31c8bc3ed
diff --git a/frontend/build/shared/esbuild/side-effect-free-modules-plugin.js b/frontend/build/shared/esbuild/side-effect-free-modules-plugin.js
index 2f26d133c7c..5a9a4c02e15 100644
--- a/frontend/build/shared/esbuild/side-effect-free-modules-plugin.js
+++ b/frontend/build/shared/esbuild/side-effect-free-modules-plugin.js
@@ -1,5 +1,3 @@
-/* eslint-env node */
-
const path = require("path");
const {
diff --git a/frontend/build/shared/rspack/bundle-stats.js b/frontend/build/shared/rspack/bundle-stats.js
index 1fa7807b2e7..48efe095cfc 100644
--- a/frontend/build/shared/rspack/bundle-stats.js
+++ b/frontend/build/shared/rspack/bundle-stats.js
@@ -1,4 +1,3 @@
-/* eslint-env node */
const { StatsWriterPlugin } = require("webpack-stats-plugin");
const EMIT_BUNDLE_STATS = process.env.EMIT_BUNDLE_STATS === "true";
diff --git a/frontend/build/shared/rspack/plugins/CssVarsDeclarationPlugin/css-vars-declaration-plugin.js b/frontend/build/shared/rspack/plugins/CssVarsDeclarationPlugin/css-vars-declaration-plugin.js
index d46d11a4570..27151ca08e2 100644
--- a/frontend/build/shared/rspack/plugins/CssVarsDeclarationPlugin/css-vars-declaration-plugin.js
+++ b/frontend/build/shared/rspack/plugins/CssVarsDeclarationPlugin/css-vars-declaration-plugin.js
@@ -1,5 +1,4 @@
// @ts-check
-/* eslint-env node */
const fs = require("fs");
const path = require("path");
diff --git a/frontend/build/shared/rspack/resolve-aliases.js b/frontend/build/shared/rspack/resolve-aliases.js
index 1a21267acf5..89d7c6c85c9 100644
--- a/frontend/build/shared/rspack/resolve-aliases.js
+++ b/frontend/build/shared/rspack/resolve-aliases.js
@@ -1,5 +1,4 @@
// @ts-check
-/* eslint-env node */
const path = require("path");
diff --git a/frontend/build/shared/rspack/side-effect-free-modules.js b/frontend/build/shared/rspack/side-effect-free-modules.js
index 684043dda51..d678fab9ca1 100644
--- a/frontend/build/shared/rspack/side-effect-free-modules.js
+++ b/frontend/build/shared/rspack/side-effect-free-modules.js
@@ -1,5 +1,3 @@
-/* eslint-env node */
-
const path = require("path");
const REPO_ROOT = path.resolve(__dirname, "../../../..");