Skip to content

Commit 2d36657

Browse files
committed
chore: update dependencies
1 parent 3a0386a commit 2d36657

File tree

6 files changed

+1222
-1747
lines changed

6 files changed

+1222
-1747
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,6 @@ Required during code development for testing, Hygiene, code styling, etc.
658658

659659
| Package | Description |
660660
| --------------------------- | --------------------------------------------------------------------------- |
661-
| @eslint/compat | Compatibility utilities for ESLin (eslint v8 support in v9). |
662-
| @eslint/eslintrc | Support for legacy ESLintRC config file format for ESLint. |
663661
| @eslint/js | ESLint JavaScript language implementation. |
664662
| @playwright/test | Automated end-to-end web testing framework (supports headless web browsers) |
665663
| @prettier/plugin-pug | Prettier plugin for formatting pug templates |
@@ -668,7 +666,7 @@ Required during code development for testing, Hygiene, code styling, etc.
668666
| eslint-config-prettier | Make ESLint and Prettier play nice with each other. |
669667
| eslint | Linter JavaScript. |
670668
| eslint-plugin-chai-friendly | Makes eslint friendly towards Chai.js 'expect' and 'should' statements. |
671-
| eslint-plugin-import | ESLint plugin with rules that help validate proper imports. |
669+
| eslint-plugin-import-x | ESLint plugin with rules that help validate proper imports. |
672670
| globals | ESLint global identifiers from different JavaScript environments. |
673671
| husky | Git hook manager to automate tasks with git. |
674672
| mocha | Test framework. |

config/nodemailer.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
const nodemailer = require('nodemailer');
22

3-
process.on('uncaughtException', (err) => {
4-
if (err?.code === 'ERR_SSL_BAD_RECORD_TYPE') {
5-
console.error('Caught TLS socket error. This is a known issue with some SMTP service providers', err);
6-
return;
7-
}
8-
throw err;
9-
});
10-
113
/**
124
* Helper Function to Send Mail.
135
*/

controllers/api.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ const cheerio = require('cheerio');
55
const { LastFmNode } = require('lastfm');
66
const multer = require('multer');
77
const { OAuth } = require('oauth');
8-
// Disable eslint rule for @octakit/rest until the following github issue is resolved
9-
// github npm package bug: https://github.com/octokit/rest.js/issues/446
10-
// eslint-disable-next-line import/no-unresolved
118
const { Octokit } = require('@octokit/rest');
129
const stripe = require('stripe')(process.env.STRIPE_SKEY);
1310
const twilioClient = require('twilio')(process.env.TWILIO_SID, process.env.TWILIO_TOKEN);

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import chaiFriendly from 'eslint-plugin-chai-friendly';
22
import globals from 'globals';
33
import eslintConfigPrettier from 'eslint-config-prettier/flat';
4-
import eslintPluginImport from 'eslint-plugin-import';
4+
import { importX } from 'eslint-plugin-import-x';
55

66
export default [
77
eslintConfigPrettier, // Disable Prettier-handled style rules - prettier owns styling
@@ -10,7 +10,7 @@ export default [
1010

1111
plugins: {
1212
'chai-friendly': chaiFriendly,
13-
import: eslintPluginImport,
13+
import: importX,
1414
},
1515

1616
languageOptions: {

0 commit comments

Comments
 (0)