Skip to content

Commit

Permalink
added: knip
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Pasynok committed Nov 3, 2024
1 parent c9b6f30 commit f017a3f
Show file tree
Hide file tree
Showing 8 changed files with 678 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:

- name: Run tests
run: npm test

- name: Lint
run: npm run knip
5 changes: 5 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ignore": ["**/build/**", "**/__tests__/**", "**/__fixtures__/**", "vitest.config.ts", "tsconfig.json"],
"entry": ["**/__tests__/**", "./src/index.ts"],
"exclude": ["unlisted", "dependencies", "binaries"]
}
Loading

0 comments on commit f017a3f

Please sign in to comment.