Skip to content

Commit

Permalink
Lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 10, 2023
1 parent afa30eb commit 86f67bf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 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
1 change: 0 additions & 1 deletion src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const userExec = 0b001000000;
* Options for adding resources.
*/
export interface IBundleResourceOptions {
//
/**
* Access time.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/projector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
import {pathRelativeBase, trimExtension} from './util';

export interface IIncludeXtraMapping {
//
/**
* Source path, case insensitive.
* Does not need to match the full path.
Expand All @@ -27,7 +26,6 @@ export interface IIncludeXtraMapping {
}

export interface IIncludeXtraMappingBest {
//
/**
* Map instance.
*/
Expand Down
1 change: 0 additions & 1 deletion src/util/mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const CPU_TYPE_POWERPC = 0x00000012;
const CPU_TYPE_I386 = 0x00000007;

export interface IMachoType {
//
/**
* CPU type.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/util/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const IMAGE_SCN_CNT_INITIALIZED_DATA = 0x00000040;
const IMAGE_SCN_CNT_UNINITIALIZED_DATA = 0x00000080;

export interface IPeResourceReplace {
//
/**
* Replace icons if not null.
*
Expand Down Expand Up @@ -365,7 +364,6 @@ export async function windowsLauncher(
}

interface IPatcherPatch {
//
/**
* The bytes to find.
*/
Expand Down

0 comments on commit 86f67bf

Please sign in to comment.