Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajaco committed Aug 24, 2024
1 parent 703becb commit 1425a65
Show file tree
Hide file tree
Showing 7 changed files with 269 additions and 201 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

18 changes: 18 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import prettier from "eslint-config-prettier";
import { includeIgnoreFile } from "@eslint/compat";
import path from "node:path";
import { fileURLToPath } from "node:url";

// @ts-expect-error ESM compat error
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, ".gitignore");

export default tseslint.config(
includeIgnoreFile(gitignorePath),
eslint.configs.recommended,
...tseslint.configs.recommended,
prettier,
);
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier -w .",
"format:check": "prettier -c .",
"lint": "eslint --ignore-path .gitignore --max-warnings 0 .",
"lint:fix": "pnpm run lint -- --fix",
"lint": "eslint --max-warnings 0 .",
"lint:fix": "pnpm run lint --fix",
"prepublishOnly": "pnpm run build",
"test": "nyc -r=lcov -r=text node --trace-warnings -r ts-node/register --test \"**/*.test.ts\"",
"typecheck": "tsc"
Expand All @@ -37,19 +37,22 @@
"jest-diff": "^29.7.0"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.9.1",
"@types/body-parser": "^1.19.5",
"@types/deep-equal": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^8.57.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"get-port-please": "^3.1.2",
"node-mocks-http": "^1.14.1",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"node-mocks-http": "^1.15.1",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 1425a65

Please sign in to comment.