Skip to content

Commit

Permalink
build(components): use depcheck to check for unused/missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer authored and JonasKellerer committed May 1, 2024
1 parent 7675dc1 commit 2248270
Show file tree
Hide file tree
Showing 6 changed files with 533 additions and 61 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Check types
run: npm run check-types

- name: Check types
run: npm run check-dependencies

- name: Run linter
run: npm run lint

Expand Down
18 changes: 18 additions & 0 deletions components/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"ignores": [
"http-server",
"release-please",
"storybook-addon-fetch-mock",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-links",
"eslint-plugin-jest",
"*@babel/eslint-parser*",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"eslint-config-preact",
"eslint-plugin-import",
"eslint-plugin-storybook"
],
"ignore-patterns": [".eslintrc.json"]
}
Loading

0 comments on commit 2248270

Please sign in to comment.