Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: removed unnessesary eslint check (#1668)

Palash Guptab8c58a981284
diff --git a/frontend/i18-generate-hash.js b/frontend/i18-generate-hash.js
index 97476e40af..cbc03f9025 100644
--- a/frontend/i18-generate-hash.js
+++ b/frontend/i18-generate-hash.js
@@ -1,24 +1,20 @@
-/* eslint-disable */
-// @ts-ignore
-// @ts-nocheck
-
const crypto = require('crypto');
const fs = require('fs');
const glob = require('glob');
function generateChecksum(str, algorithm, encoding) {
- return crypto
- .createHash(algorithm || 'md5')
- .update(str, 'utf8')
- .digest(encoding || 'hex');
+ return crypto
+ .createHash(algorithm || 'md5')
+ .update(str, 'utf8')
+ .digest(encoding || 'hex');
}
const result = {};
-glob.sync(`public/locales/**/*.json`).forEach(path => {
- const [_, lang] = path.split('public/locales');
- const content = fs.readFileSync(path, { encoding: 'utf-8' });
- result[lang.replace('.json', '')] = generateChecksum(content);
+glob.sync(`public/locales/**/*.json`).forEach((path) => {
+ const [_, lang] = path.split('public/locales');
+ const content = fs.readFileSync(path, { encoding: 'utf-8' });
+ result[lang.replace('.json', '')] = generateChecksum(content);
});
fs.writeFileSync('./i18n-translations-hash.json', JSON.stringify(result));