From 5781d0168fb168f7e975efc1de563a3ce9f843fe Mon Sep 17 00:00:00 2001 From: v-craigjzgh Date: Tue, 21 Apr 2026 03:41:55 -0400 Subject: [PATCH] Add eslint config. --- eslint.config.js | 5 +++++ package-lock.json | 30 +++++++++++++++--------------- 2 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 eslint.config.js diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 00000000..fc6f6083 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,5 @@ +const nextConfig = require("eslint-config-next"); +const prettierConfig = require("eslint-config-prettier"); + +/** @type {import("eslint").Linter.Config[]} */ +module.exports = [...nextConfig, prettierConfig]; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 43fb6b8d..b45a1461 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@fortawesome/free-solid-svg-icons": "^7.2.0", "@fortawesome/react-fontawesome": "^3.2.0", "@primer/react-brand": "^0.65.1", - "@types/node": "25.5.0", + "@types/node": "22.0.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "dayjs": "^1.11.20", @@ -2429,12 +2429,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.0.tgz", - "integrity": "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "license": "MIT", "dependencies": { - "undici-types": "~7.18.0" + "undici-types": "~6.11.1" } }, "node_modules/@types/parse-json": { @@ -7909,9 +7909,9 @@ } }, "node_modules/undici-types": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", - "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==", "license": "MIT" }, "node_modules/universal-user-agent": { @@ -9603,11 +9603,11 @@ "dev": true }, "@types/node": { - "version": "25.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.0.tgz", - "integrity": "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "requires": { - "undici-types": "~7.18.0" + "undici-types": "~6.11.1" } }, "@types/parse-json": { @@ -13079,9 +13079,9 @@ } }, "undici-types": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", - "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==" + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==" }, "universal-user-agent": { "version": "7.0.3",