From a0a1a4d139b6408419cd564611c26bd0dbade145 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 28 Nov 2022 13:58:14 +0100 Subject: enforce path aliases with eslint --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 13e67b1..6fabe2d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,9 @@ "discord-types": "^1.3.26", "esbuild": "^0.15.5", "eslint": "^8.24.0", + "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-header": "^3.1.1", + "eslint-plugin-path-alias": "^1.0.0", "eslint-plugin-simple-import-sort": "^8.0.0", "eslint-plugin-unused-imports": "^2.0.0", "moment": "^2.29.4", @@ -54,5 +56,10 @@ "type-fest": "^3.1.0", "typescript": "^4.8.4" }, - "packageManager": "pnpm@7.13.4" + "packageManager": "pnpm@7.13.4", + "pnpm": { + "patchedDependencies": { + "eslint-plugin-path-alias@1.0.0": "patches/eslint-plugin-path-alias@1.0.0.patch" + } + } } -- cgit