From 4721c46d8c1bd055a393e87d432f6a66a5ccba56 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 19 Apr 2023 23:15:07 +0200 Subject: [PATCH] Fix lint --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- tsconfig.json | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 65f43e7..397a841 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@types/react": "^18.0.33", "@typescript-eslint/eslint-plugin": "^5.57.1", "@typescript-eslint/parser": "^5.57.1", - "@vencord/types": "^0.1.1", + "@vencord/types": "^0.1.2", "dotenv": "^16.0.3", "electron": "^23.2.0", "electron-builder": "^23.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d0b028..5492c22 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,8 +17,8 @@ devDependencies: specifier: ^5.57.1 version: 5.57.1(eslint@8.38.0)(typescript@5.0.2) '@vencord/types': - specifier: ^0.1.1 - version: 0.1.1 + specifier: ^0.1.2 + version: 0.1.2 dotenv: specifier: ^16.0.3 version: 16.0.3 @@ -725,8 +725,8 @@ packages: eslint-visitor-keys: 3.4.0 dev: true - /@vencord/types@0.1.1: - resolution: {integrity: sha512-QbAeVafeMpkteSscgtnXmwvwmXaePqOI4jwaLb9DAwIKpuVRCtT2V48th8PCuL228NyBMBRI+rpYaf1JmSB7UQ==} + /@vencord/types@0.1.2: + resolution: {integrity: sha512-C/dqZHn3aod/4izZT9sgZEef4478M7QNKTY8Gx2yB1CRYawJcs6hupXT/1SMmepKqrULbltL04Cnh5ieBm3Ucw==} dependencies: '@types/lodash': 4.14.194 '@types/node': 18.15.11 diff --git a/tsconfig.json b/tsconfig.json index 2806255..4e23ba2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,9 @@ "target": "ESNEXT", "jsx": "preserve", + // we have duplicate electron types but it's w/e + "skipLibCheck": true, + "baseUrl": "./src/", "typeRoots": ["./node_modules/@types", "./node_modules/@vencord"]