Skip to content

Commit

Permalink
chore: delete lint command
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Oct 13, 2022
1 parent 6b215b0 commit 60739b0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 93 deletions.
24 changes: 0 additions & 24 deletions packages/api/cli/src/electron-forge-lint.ts

This file was deleted.

26 changes: 1 addition & 25 deletions packages/api/core/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ElectronProcess, ForgeMakeResult } from '@electron-forge/shared-types';

import _import, { ImportOptions } from './import';
import init, { InitOptions } from './init';
import lint, { LintOptions } from './lint';
import make, { MakeOptions } from './make';
import _package, { PackageOptions } from './package';
import publish, { PublishOptions } from './publish';
Expand All @@ -28,16 +27,6 @@ export class ForgeAPI {
return init(opts);
}

/**
* Lint a local Electron application.
*
* The promise will be rejected with the stdout+stderr of the linting process
* if linting fails or will be resolved if it succeeds.
*/
lint(opts: LintOptions): Promise<void> {
return lint(opts);
}

/**
* Make distributables for an Electron application
*/
Expand Down Expand Up @@ -72,17 +61,4 @@ export class ForgeAPI {
const api = new ForgeAPI();
const utils = new ForgeUtils();

export {
ForgeMakeResult,
ElectronProcess,
ForgeUtils,
ImportOptions,
InitOptions,
LintOptions,
MakeOptions,
PackageOptions,
PublishOptions,
StartOptions,
api,
utils,
};
export { ForgeMakeResult, ElectronProcess, ForgeUtils, ImportOptions, InitOptions, MakeOptions, PackageOptions, PublishOptions, StartOptions, api, utils };
44 changes: 0 additions & 44 deletions packages/api/core/src/api/lint.ts

This file was deleted.

Binary file not shown.

0 comments on commit 60739b0

Please sign in to comment.