From 17bdec9a6106ed6c39cbc45bf7e8dbe84ee61796 Mon Sep 17 00:00:00 2001 From: JrMasterModelBuilder Date: Sun, 1 Oct 2023 23:02:01 -0400 Subject: [PATCH] Lint cleanup --- .eslintrc.yaml | 16 ++++++++++------ src/mounter.ts | 5 ----- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 768211a..43d1418 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -129,12 +129,6 @@ rules: line-comment-position: - error - position: above - lines-around-comment: - - error - - beforeBlockComment: true - allowBlockStart: true - allowObjectStart: true - allowArrayStart: true lines-between-class-members: - error - always @@ -285,6 +279,16 @@ rules: '@typescript-eslint/prefer-function-type': error '@typescript-eslint/unified-signatures': error '@typescript-eslint/no-confusing-non-null-assertion': error + '@typescript-eslint/lines-around-comment': + - error + - beforeBlockComment: true + allowBlockStart: true + allowObjectStart: true + allowArrayStart: true + allowEnumStart: true + allowInterfaceStart: true + allowModuleStart: true + allowTypeStart: true # TypeScript Project: '@typescript-eslint/no-unnecessary-qualifier': error diff --git a/src/mounter.ts b/src/mounter.ts index 51b213b..67e4275 100644 --- a/src/mounter.ts +++ b/src/mounter.ts @@ -9,7 +9,6 @@ import { } from '@shockpkg/plist-dom'; export interface IMounterOptions { - // /** * The path for hdiutil. * @@ -19,7 +18,6 @@ export interface IMounterOptions { } export interface IMounterAttachOptions { - // /** * Force the devices to be read-only. */ @@ -32,7 +30,6 @@ export interface IMounterAttachOptions { } export interface IMounterEjectOptions { - // /** * Forcibly detach. */ @@ -40,7 +37,6 @@ export interface IMounterEjectOptions { } export interface IMounterDevice { - // /** * The dev-entry hdiutil info. */ @@ -73,7 +69,6 @@ export interface IMounterDevice { } export interface IMounterAttachInfo { - // /** * Device list. */