diff --git a/README.md b/README.md index c5d2e95d..cf6c489e 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Do you need help with working with xmpp.js? Please reach out to our community by ## Built with xmpp.js - [WorkAdventure](https://workadventu.re/) -- [Simplo](https://simplo.app/?lang=en) +- [Mustang](https://www.mustang.im/) - [Crypho](https://www.crypho.com/) - [MeshCentral](https://meshcentral.com/) - [openHAB](https://www.openhab.org/) diff --git a/eslint.config.js b/eslint.config.js index ef276398..73afd1ea 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -54,6 +54,7 @@ export default [ "prefer-arrow-callback": ["error", { allowNamedFunctions: true }], "no-redeclare": ["error", { builtinGlobals: false }], "no-unused-vars": ["error", { argsIgnorePattern: "^_" }], + "no-console": ["error"], // node // https://github.com/eslint-community/eslint-plugin-n/ diff --git a/packages/client/example.js b/packages/client/example.js index dc3359b1..e95416c7 100644 --- a/packages/client/example.js +++ b/packages/client/example.js @@ -1,5 +1,6 @@ +/* eslint-disable no-console, n/no-extraneous-import*/ + import { client, xml } from "@xmpp/client"; -// eslint-disable-next-line n/no-extraneous-import import debug from "@xmpp/debug"; // Insecure! diff --git a/packages/component/example.js b/packages/component/example.js index ce5847b5..93bbe3e2 100644 --- a/packages/component/example.js +++ b/packages/component/example.js @@ -1,5 +1,6 @@ +/* eslint-disable no-console, n/no-extraneous-import*/ + import { component, xml } from "@xmpp/component"; -// eslint-disable-next-line n/no-extraneous-import import debug from "@xmpp/debug"; const xmpp = component({ diff --git a/packages/resolve/example.js b/packages/resolve/example.js index 21d2d30c..8bb822a7 100644 --- a/packages/resolve/example.js +++ b/packages/resolve/example.js @@ -1,3 +1,5 @@ +/* eslint-disable no-console */ + import { resolve } from "@xmpp/resolve"; const result = await resolve("jabberfr.org"); diff --git a/server/ctl.js b/server/ctl.js index 447c1c38..6dc735b0 100755 --- a/server/ctl.js +++ b/server/ctl.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +/* eslint-disable no-console */ import server from "./index.js"; diff --git a/test/bundlesize.js b/test/bundlesize.js index 39b952e2..709555fa 100644 --- a/test/bundlesize.js +++ b/test/bundlesize.js @@ -1,5 +1,4 @@ -/* eslint-disable unicorn/no-process-exit */ -/* eslint-disable n/no-process-exit */ +/* eslint-disable no-console, unicorn/no-process-exit, n/no-process-exit */ import zlib from "node:zlib"; import { readFile } from "node:fs/promises";