Skip to content

Commit

Permalink
Lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 2, 2023
1 parent ea3a326 commit 17bdec9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
16 changes: 10 additions & 6 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions src/mounter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from '@shockpkg/plist-dom';

export interface IMounterOptions {
//
/**
* The path for hdiutil.
*
Expand All @@ -19,7 +18,6 @@ export interface IMounterOptions {
}

export interface IMounterAttachOptions {
//
/**
* Force the devices to be read-only.
*/
Expand All @@ -32,15 +30,13 @@ export interface IMounterAttachOptions {
}

export interface IMounterEjectOptions {
//
/**
* Forcibly detach.
*/
force?: boolean;
}

export interface IMounterDevice {
//
/**
* The dev-entry hdiutil info.
*/
Expand Down Expand Up @@ -73,7 +69,6 @@ export interface IMounterDevice {
}

export interface IMounterAttachInfo {
//
/**
* Device list.
*/
Expand Down

0 comments on commit 17bdec9

Please sign in to comment.