Skip to content

Commit

Permalink
fix: remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Aug 29, 2024
1 parent 78bcb57 commit 883c1ad
Show file tree
Hide file tree
Showing 8 changed files with 908 additions and 776 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"@alergeek-ventures/eslint-config/react",
"plugin:@next/next/recommended"
],

"parser": "@typescript-eslint/parser",
"root": true,
"parserOptions": {
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:

- name: Build
run: npm run build
env:
USOS_CONSUMER_KEY: hello
USOS_CONSUMER_SECRET: jello
if: always()

- name: Find deadcode
Expand Down
10 changes: 10 additions & 0 deletions knip.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { KnipConfig } from "knip";

const config = {
ignore: ["src/components/ui/**"],
// sharp is used in nextjs image optimization
ignoreDependencies: ["sharp", "@radix-ui/*"],
} satisfies KnipConfig;

// eslint-disable-next-line import/no-default-export
export default config;
Loading

0 comments on commit 883c1ad

Please sign in to comment.