From f174abb8b0793f1cf80480da5f5cd8cf1e8b4dcb Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 3 Aug 2021 17:12:28 +0100 Subject: [PATCH] Update eslint plugin & fix silly indenting As per matrix-org/eslint-plugin-matrix-org#15 this caused a bunch of silly indenting to creep in, so this fixes it back to the previous style. --- package.json | 2 +- src/squirrelhooks.ts | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7968c96..bb047a9 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "electron-notarize": "^1.0.0", "eslint": "7.18.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-matrix-org": "github:matrix-org/eslint-plugin-matrix-org#main", + "eslint-plugin-matrix-org": "github:matrix-org/eslint-plugin-matrix-org#2306b3d4da4eba908b256014b979f1d3d43d2945", "find-npm-prefix": "^1.0.2", "fs-extra": "^8.1.0", "glob": "^7.1.6", diff --git a/src/squirrelhooks.ts b/src/squirrelhooks.ts index 0119a1a..c05c9ad 100644 --- a/src/squirrelhooks.ts +++ b/src/squirrelhooks.ts @@ -28,7 +28,7 @@ function runUpdateExe(args: string[]): Promise { console.log(`Spawning '${updateExe}' with args '${args}'`); return new Promise(resolve => { spawn(updateExe, args, { - detached: true, + detached: true, }).on('close', resolve); }); } diff --git a/yarn.lock b/yarn.lock index 19b682a..6892c6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1848,9 +1848,9 @@ eslint-config-google@^0.14.0: resolved "https://registry.yarnpkg.com/eslint-config-google/-/eslint-config-google-0.14.0.tgz#4f5f8759ba6e11b424294a219dbfa18c508bcc1a" integrity sha512-WsbX4WbjuMvTdeVL6+J3rK1RGhCTqjsFjX7UMSMgZiyxxaNLkoJENbrGExzERFeoTpGw3F3FypTiWAP9ZXzkEw== -"eslint-plugin-matrix-org@github:matrix-org/eslint-plugin-matrix-org#main": - version "0.3.3" - resolved "https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/50d6bdf6704dd95016d5f1f824f00cac6eaa64e1" +"eslint-plugin-matrix-org@github:matrix-org/eslint-plugin-matrix-org#2306b3d4da4eba908b256014b979f1d3d43d2945": + version "0.3.5" + resolved "https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/2306b3d4da4eba908b256014b979f1d3d43d2945" eslint-scope@^5.1.1: version "5.1.1"