Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 20, 2024
1 parent c124e14 commit cfdc97e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 35 deletions.
4 changes: 1 addition & 3 deletions bundle.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env node

/* eslint-disable no-console */

'use strict' // eslint-disable-line node/shebang
'use strict'

const fs = require('fs')
const path = require('path')
Expand Down
8 changes: 2 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ import pluginJest from "eslint-plugin-jest";

export default [
{
ignores: [
"**/dist/*.js",
"bundle.js",
"packages/xmpp.js/index.js",
"eslint.config.mjs",
],
ignores: ["**/dist/*.js", "eslint.config.mjs"],
},
js.configs.recommended,
eslintPluginUnicorn.configs["flat/recommended"],
Expand Down Expand Up @@ -68,6 +63,7 @@ export default [
"error",
{ allowModules: ["sinon", "@xmpp/test"] },
],
"n/hashbang": "off",

// promise
// https://github.com/xjamundx/eslint-plugin-promise
Expand Down
16 changes: 0 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"private": true,
"type": "commonjs",
"bin": {
"serverctl": "server/ctl.js"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.5",
Expand All @@ -15,7 +12,6 @@
"babel-jest": "^29.7.0",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babel-register-esm": "^1.2.5",
"babelify": "^10.0.0",
"babylon": "^6.18.0",
"browser-pack-flat": "^3.5.0",
Expand Down
2 changes: 0 additions & 2 deletions test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const { jid } = require("../packages/client");
const debug = require("../packages/debug");
const server = require("../server");

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

const username = "client";
const password = "foobar";
const credentials = { username, password };
Expand Down
2 changes: 0 additions & 2 deletions test/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ const { client, xml, jid } = require("../packages/client");
const debug = require("../packages/debug");
const server = require("../server");

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

const username = "client";
const password = "foobar";
const credentials = { username, password };
Expand Down
2 changes: 0 additions & 2 deletions test/see-other-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ const { client, jid } = require("../packages/client");
const debug = require("../packages/debug");
const server = require("../server");

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

const username = "client";
const password = "foobar";
const credentials = { username, password };
Expand Down

0 comments on commit cfdc97e

Please sign in to comment.