Remove unused exports & dead code (using Knip) (#56817)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
This commit is contained in:
Lars Kappert
2024-06-27 23:24:01 +02:00
committed by GitHub
parent f7833b2a72
commit 752135eb40
45 changed files with 1237 additions and 682 deletions

View File

@@ -83,6 +83,20 @@ jobs:
- name: Linter
run: npm run lint
knip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '*'
check-latest: true
- run: npm ci
- name: Unused exports
run: npm run knip
format:
runs-on: ubuntu-latest