Skip to content

Commit 8be3f12

Browse files
committedDec 17, 2024
style: remove blank lines where lint fix removed disabled comments
1 parent 862b19e commit 8be3f12

File tree

9 files changed

+1
-11
lines changed

9 files changed

+1
-11
lines changed
 

Diff for: ‎packages/nx-plugin/src/executors/cli/executor.integration.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ vi.mock('node:child_process', async () => {
88
const actual = await vi.importActual('node:child_process');
99
return {
1010
...actual,
11-
1211
execSync: vi.fn(),
1312
};
1413
});

Diff for: ‎packages/nx-plugin/src/executors/cli/executor.unit.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ vi.mock('node:child_process', async () => {
99

1010
return {
1111
...actual,
12-
1312
execSync: vi.fn((command: string) => {
1413
if (command.includes('THROW_ERROR')) {
1514
throw new Error(command);

Diff for: ‎packages/nx-plugin/src/executors/internal/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export type CliArgsObject<T extends object = Record<string, ArgumentValue>> =
1414
T extends never
1515
? Record<string, ArgumentValue | undefined> | { _: string }
1616
: T;
17-
// @TODO import from @code-pushup/utils => get rid of poppins for cjs support
1817

18+
// @TODO import from @code-pushup/utils => get rid of poppins for cjs support
1919
export function objectToCliArgs<
2020
T extends object = Record<string, ArgumentValue>,
2121
>(params?: CliArgsObject<T>): string[] {

Diff for: ‎packages/nx-plugin/src/executors/internal/env.ts

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ type UploadEnvVars = z.infer<typeof envSchema>;
1616

1717
export function parseEnv(env: unknown = {}): Partial<UploadConfig> {
1818
const upload: UploadEnvVars = envSchema.parse(env);
19-
2019
return Object.fromEntries(
2120
Object.entries(upload).map(([envKey, value]) => {
2221
switch (envKey) {

Diff for: ‎packages/plugin-eslint/src/lib/runner/lint.unit.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ vi.mock('eslint', () => ({
3232

3333
vi.mock('@code-pushup/utils', async () => {
3434
const utils = await vi.importActual('@code-pushup/utils');
35-
3635
const testUtils: { MEMFS_VOLUME: string } = await vi.importActual(
3736
'@code-pushup/test-utils',
3837
);

Diff for: ‎packages/plugin-js-packages/src/lib/package-managers/yarn-classic/types.ts

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export type Yarnv1AuditAdvisory = {
88
id: number;
99
path: string;
1010
};
11-
1211
advisory: {
1312
module_name: string;
1413
severity: PackageAuditLevel;

Diff for: ‎packages/utils/src/lib/reports/log-stdout-summary.ts

-3
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,12 @@ function logRow(score: number, title: string, value?: string): void {
8181
},
8282
{
8383
text: title,
84-
8584
padding: [0, 3, 0, 0],
8685
},
8786
...(value
8887
? [
8988
{
9089
text: cyanBright(value),
91-
9290
width: 20,
9391
padding: [0, 0, 0, 0],
9492
},
@@ -109,7 +107,6 @@ export function logCategories({
109107
countCategoryAudits(refs, plugins),
110108
]);
111109
const table = ui().table();
112-
113110
table.columnWidths([TERMINAL_WIDTH - 9 - 10 - 4, 9, 10]);
114111
table.head(
115112
REPORT_RAW_OVERVIEW_TABLE_HEADERS.map((heading, idx) => ({

Diff for: ‎packages/utils/src/lib/transform.ts

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export type CliArgsObject<T extends object = Record<string, ArgumentValue>> =
6060
* formats: ['json', 'md'] // --format=json --format=md
6161
* });
6262
*/
63-
6463
export function objectToCliArgs<
6564
T extends object = Record<string, ArgumentValue>,
6665
>(params?: CliArgsObject<T>): string[] {

Diff for: ‎testing/test-utils/src/lib/utils/omit-report-data.ts

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export function omitVariablePluginData(
2828
},
2929
) {
3030
const { omitAuditData } = options ?? {};
31-
3231
return {
3332
...pluginReport,
3433
audits: audits.map(plugin =>

0 commit comments

Comments
 (0)
Please sign in to comment.