Skip to content

Commit 45630c6

Browse files
committed
Chore: Fix linting issues
1 parent 1b43c65 commit 45630c6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/hint/src/lib/cli/analyze.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { URL } from 'url';
33
import * as path from 'path';
44

55
import * as async from 'async';
6-
import { default as ora, Ora } from 'ora';
6+
import { default as ora, Ora } from 'ora';
77
const boxen = require('boxen'); // `require` used because `boxen` exports a function
8+
89
import * as chalk from 'chalk';
910
import * as isCI from 'is-ci';
1011
import { EventAndListener } from 'eventemitter2';

packages/hint/tests/lib/utils/logging.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import * as sinon from 'sinon';
44
import * as logging from '../../../src/lib/utils/logging';
55

66
type LoggingContext = {
7-
consoleLogSpy: sinon.SinonSpy<[any?, ...any[]], void>
8-
consoleErrorSpy: sinon.SinonSpy<[any?, ...any[]], void>
9-
consoleWarnSpy: sinon.SinonSpy<[any?, ...any[]], void>
7+
consoleLogSpy: sinon.SinonSpy<[any?, ...any[]], void>;
8+
consoleErrorSpy: sinon.SinonSpy<[any?, ...any[]], void>;
9+
consoleWarnSpy: sinon.SinonSpy<[any?, ...any[]], void>;
1010
};
1111

1212
const test = anyTest as TestInterface<LoggingContext>;

packages/hint/tests/lib/utils/resource-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test('getInstalledResources should return the installed resources', async (t) =>
134134
cleanCache();
135135

136136
const resourceLoader = await import('../../../src/lib/utils/resource-loader');
137-
137+
138138
const globbyStub = sinon.stub(globby, 'sync').returns(installedConnectors);
139139
const connectors = resourceLoader.getInstalledResources(ResourceType.connector);
140140

0 commit comments

Comments
 (0)