Skip to content

chore: check for unused files, exports and dependencies with knip - #304

Merged
Endika merged 1 commit into
mainfrom
chore/knip
Dec 3, 2026
Merged

Endika merged 1 commit into
mainfrom
chore/knip

Conversation

@Endika

@Endika Endika commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Adds knip and its knip script, which the shared CI runs. The stryker folder is ignored: its plugin is loaded by the Stryker config and its dependency is only installed in CI.

Removed what knip found unused: the DetailLine interface duplicated in formatConsumptionSummary (it now imports the domain's), HEAT_LEVELS, used nowhere, autoprefixer and postcss (no PostCSS config uses them), @typescript-eslint/eslint-plugin and @typescript-eslint/parser (they come with typescript-eslint), and the export of twelve names only used in their own modules. The hand-run scripts/*.mjs are declared as entries.

@Endika
Endika enabled auto-merge (rebase) December 3, 2026 11:37
@Endika
Endika merged commit e455fa9 into main Dec 3, 2026
9 checks passed
@Endika
Endika deleted the chore/knip branch December 3, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant