Skip to content

Commit 4e452ae

Browse files
committed
chore: lint
1 parent e7bb713 commit 4e452ae

21 files changed

+133
-133
lines changed

test/unit/app/utils/chart-data-buckets.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
fillPartialBucket,
4-
buildDailyEvolution,
5-
buildWeeklyEvolution,
6-
buildMonthlyEvolution,
7-
buildYearlyEvolution,
3+
fillPartialBucket,
4+
buildDailyEvolution,
5+
buildWeeklyEvolution,
6+
buildMonthlyEvolution,
7+
buildYearlyEvolution,
88
} from '../../../../app/utils/chart-data-buckets'
99

1010
describe('fillPartialBucket', () => {

test/unit/app/utils/chart-data-prediction.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ vi.mock('~/utils/chart-data-correction', () => ({
55
}))
66

77
import {
8-
endDateOnlyToUtcMs,
9-
getBucketStartUtc,
10-
getBucketEndUtc,
11-
getCompletionRatio,
12-
linearProject,
13-
extrapolateLastValue,
8+
endDateOnlyToUtcMs,
9+
getBucketStartUtc,
10+
getBucketEndUtc,
11+
getCompletionRatio,
12+
linearProject,
13+
extrapolateLastValue,
1414
} from '../../../../app/utils/chart-data-prediction'
1515

1616
describe('endDateOnlyToUtcMs', () => {

test/unit/app/utils/charts.spec.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest';
1+
import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest'
22
import {
3-
sum,
4-
chunkIntoWeeks,
5-
buildWeeklyEvolutionFromDaily,
6-
clamp,
7-
quantile,
8-
winsorize,
9-
computeLineChartAnalysis,
10-
createAltTextForTrendLineChart,
11-
copyAltTextForTrendLineChart,
12-
createAltTextForVersionsBarChart,
13-
copyAltTextForVersionsBarChart,
14-
loadFile,
15-
sanitise,
16-
insertLineBreaks,
17-
applyEllipsis,
18-
type TrendLineConfig,
19-
type TrendLineDataset,
20-
type VersionsBarConfig,
21-
type VersionsBarDataset,
22-
} from '../../../../app/utils/charts';
23-
import type { AltCopyArgs } from 'vue-data-ui';
3+
sum,
4+
chunkIntoWeeks,
5+
buildWeeklyEvolutionFromDaily,
6+
clamp,
7+
quantile,
8+
winsorize,
9+
computeLineChartAnalysis,
10+
createAltTextForTrendLineChart,
11+
copyAltTextForTrendLineChart,
12+
createAltTextForVersionsBarChart,
13+
copyAltTextForVersionsBarChart,
14+
loadFile,
15+
sanitise,
16+
insertLineBreaks,
17+
applyEllipsis,
18+
type TrendLineConfig,
19+
type TrendLineDataset,
20+
type VersionsBarConfig,
21+
type VersionsBarDataset,
22+
} from '../../../../app/utils/charts'
23+
import type { AltCopyArgs } from 'vue-data-ui'
2424

2525
type TranslateCall = { key: string | number; named?: Record<string, unknown> }
2626

test/unit/app/utils/date.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
addDays,
4-
DAY_MS,
5-
daysInMonth,
6-
daysInYear,
7-
parseIsoDate,
8-
toIsoDate,
3+
addDays,
4+
DAY_MS,
5+
daysInMonth,
6+
daysInYear,
7+
parseIsoDate,
8+
toIsoDate,
99
} from '../../../../app/utils/date'
1010

1111
describe('DAY_MS', () => {

test/unit/app/utils/download-anomalies.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { describe, expect, it } from 'vitest'
22
import { applyBlocklistCorrection } from '../../../../app/utils/download-anomalies'
33
import type {
4-
MonthlyDataPoint,
5-
WeeklyDataPoint,
6-
YearlyDataPoint,
4+
MonthlyDataPoint,
5+
WeeklyDataPoint,
6+
YearlyDataPoint,
77
} from '../../../../app/types/chart'
88

99
/** Helper to build a WeeklyDataPoint from a start date and value. */

test/unit/app/utils/frameworks.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
SHOWCASED_FRAMEWORKS,
4-
getFrameworkColor,
5-
isListedFramework,
6-
type ShowcasedFramework,
3+
SHOWCASED_FRAMEWORKS,
4+
getFrameworkColor,
5+
isListedFramework,
6+
type ShowcasedFramework,
77
} from '../../../../app/utils/frameworks'
88

99
describe('getFrameworkColor', () => {

test/unit/app/utils/install-command.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
getInstallCommand,
4-
getInstallCommandParts,
5-
getPackageSpecifier,
6-
getExecuteCommand,
7-
getExecuteCommandParts,
8-
getDevDependencyFlag,
3+
getInstallCommand,
4+
getInstallCommandParts,
5+
getPackageSpecifier,
6+
getExecuteCommand,
7+
getExecuteCommandParts,
8+
getDevDependencyFlag,
99
} from '../../../../app/utils/install-command'
1010
import type { JsrPackageInfo } from '../../../../shared/types/jsr'
1111

test/unit/app/utils/install-scripts.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
extractInstallScriptsInfo,
4-
getInstallScriptFilePath,
5-
parseNodeScript,
3+
extractInstallScriptsInfo,
4+
getInstallScriptFilePath,
5+
parseNodeScript,
66
} from '../../../../app/utils/install-scripts'
77

88
describe('extractInstallScriptsInfo', () => {

test/unit/app/utils/package-name.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
22
import {
3-
checkPackageExists,
4-
findSimilarPackages,
5-
normalizePackageName,
3+
checkPackageExists,
4+
findSimilarPackages,
5+
normalizePackageName,
66
} from '../../../../app/utils/package-name'
77

88
describe('normalizePackageName', () => {

test/unit/app/utils/run-command.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { describe, expect, it } from 'vitest'
22
import {
3-
getExecutableInfo,
4-
getRunCommand,
5-
getRunCommandParts,
3+
getExecutableInfo,
4+
getRunCommand,
5+
getRunCommandParts,
66
} from '../../../../app/utils/run-command'
77
import { isBinaryOnlyPackage, isCreatePackage } from '../../../../shared/utils/binary-detection'
88
import type { JsrPackageInfo } from '../../../../shared/types/jsr'

0 commit comments

Comments
 (0)