Skip to content

Commit af9e73e

Browse files
committed
Add eslint fixes only
1 parent 02d9cc6 commit af9e73e

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@
369369
"watch": "webpack --watch --mode development --env esbuild --info-verbosity verbose",
370370
"open-in-browser": "vscode-test-web --extensionDevelopmentPath=. .",
371371
"lint": "eslint . --ext .ts",
372-
"lint-fix": "eslint . --ext .ts --fix && prettier --config .prettierrc 'src/**/*.ts' --write"
372+
"lint-fix": "eslint . --ext .ts --fix",
373+
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write"
373374
},
374375
"devDependencies": {
375376
"@types/glob": "^7.1.1",

src/commands/triggerWorkflowRun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as vscode from "vscode";
22

33
import {
4-
GitHubRepoContext,
54
getGitHead,
65
getGitHubContextForWorkspaceUri,
6+
GitHubRepoContext,
77
} from "../git/repository";
88
import { getWorkflowUri, parseWorkflow } from "../workflow/workflow";
99

src/log.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ enum LogLevel {
55
Info,
66
}
77

8-
var logger: vscode.OutputChannel;
9-
var level: LogLevel = LogLevel.Debug;
8+
let logger: vscode.OutputChannel;
9+
let level: LogLevel = LogLevel.Debug;
1010

1111
export function init() {
1212
logger = vscode.window.createOutputChannel("GitHub Actions");

src/pinnedWorkflows/pinnedWorkflows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as vscode from "vscode";
22

33
import {
4-
GitHubRepoContext,
54
getGitHubContextForWorkspaceUri,
5+
GitHubRepoContext,
66
} from "../git/repository";
77
import {
88
getPinnedWorkflows,

src/treeViews/current-branch/currentBranchRepoNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from "vscode";
22

3-
import { GitHubRepoContext, getCurrentBranch } from "../../git/repository";
3+
import { getCurrentBranch, GitHubRepoContext } from "../../git/repository";
44

55
import { NoRunForBranchNode } from "./noRunForBranchNode";
66
import { WorkflowRunNode } from "../workflows/workflowRunNode";

src/treeViews/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from "vscode";
22

3-
import { SettingsRepoNode, getSettingNodes } from "./settings/settingsRepoNode";
3+
import { getSettingNodes, SettingsRepoNode } from "./settings/settingsRepoNode";
44

55
import { EnvironmentNode } from "./settings/environmentNode";
66
import { EnvironmentsNode } from "./settings/environmentsNode";

src/treeViews/workflows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from "vscode";
22

3-
import { WorkflowsRepoNode, getWorkflowNodes } from "./workflows/workflowsRepoNode";
3+
import { getWorkflowNodes, WorkflowsRepoNode } from "./workflows/workflowsRepoNode";
44
import { log, logDebug, logError } from "../log";
55

66
import { AuthenticationNode } from "./shared/authenticationNode";

0 commit comments

Comments
 (0)