Skip to content

Commit c24ddf0

Browse files
committed
chore(ts): add typescript and vite to ignored dependencies
1 parent 1d61486 commit c24ddf0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/unused-dependencies.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: 'Unused Dependencies'
22
on: [pull_request]
33

4-
permissions:
5-
contents: read
4+
permissions:
5+
contents: read
66

77
jobs:
88
unused-dependecies:
@@ -20,11 +20,10 @@ jobs:
2020
with:
2121
node-version: '18.x'
2222
- name: 'Run depcheck'
23-
run: |
24-
npx depcheck --skip-missing --ignores="@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,concurrently,nyc,prettier"
23+
run: |
24+
npx depcheck --skip-missing --ignores="@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,concurrently,nyc,prettier,typescript,vite-tsconfig-paths"
2525
echo $?
2626
if [[ $? == 1 ]]; then
2727
echo "Unused dependencies or devDependencies found"
2828
exit 1
2929
fi
30-

0 commit comments

Comments
 (0)