Skip to content

Commit

Permalink
fix: knip
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Jul 19, 2024
1 parent c71512d commit eae313e
Show file tree
Hide file tree
Showing 3 changed files with 534 additions and 694 deletions.
5 changes: 3 additions & 2 deletions .github/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import type { KnipConfig } from "knip";
const config: KnipConfig = {
entry: ["build/index.ts"],
project: ["src/**/*.ts"],
ignore: ["src/types/config.ts", "**/__mocks__/**", "**/__fixtures__/**"],
ignore: ["src/types/config.ts", "**/__mocks__/**", "**/__fixtures__/**", "lib/**/*"],
ignoreExportsUsedInFile: true,
// eslint can also be safely ignored as per the docs: https://knip.dev/guides/handling-issues#eslint--jest
ignoreDependencies: ["eslint-config-prettier", "eslint-plugin-prettier", "@types/jest", "@mswjs/data"],
ignoreDependencies: ["eslint-config-prettier", "eslint-plugin-prettier"],
eslint: true,
ignoreBinaries: ["forge"],
};

export default config;
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@
],
"dependencies": {
"@ethersproject/providers": "^5.7.2",
"@supabase/supabase-js": "^2.39.8",
"@ubiquibot/permit-generation": "1.2.2",
"@ubiquity-dao/rpc-handler": "^1.1.0",
"@uniswap/permit2-sdk": "^1.2.0",
"dotenv": "^16.4.4",
"ethers": "^5.7.2",
"npm-run-all": "^4.1.5"
Expand Down
Loading

0 comments on commit eae313e

Please sign in to comment.