Skip to content

Commit

Permalink
chore: 🤖 remove Depcheck
Browse files Browse the repository at this point in the history
remove Depcheck
  • Loading branch information
tal-rofe committed Apr 17, 2023
1 parent e5d08df commit 9a94b4f
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 433 deletions.
14 changes: 0 additions & 14 deletions .depcheckrc.json

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ permissions:
contents: read

jobs:
depcheck:
name: Depcheck

runs-on: ubuntu-latest
steps:
- name: Setup Node environment
uses: Exlint/[email protected]
with:
node-version: 18.15.0
package-manager: pnpm
package-manager-version: 8.2.0

- name: Test Depcheck
run: pnpm depcheck

inflint:
name: Inflint

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm depcheck && pnpm knip && pnpm exec lint-staged
pnpm knip && pnpm exec lint-staged
19 changes: 18 additions & 1 deletion knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,22 @@
"$schema": "https://unpkg.com/knip@2/schema.json",
"entry": "./src/index.ts",
"project": ["./src/**/*"],
"webpack": false
"webpack": false,
"ignoreDependencies": [
"@commitlint/cli",
"@types/json-diff",
"@types/webpack-node-externals",
"@vitest/coverage-c8",
"commitizen",
"cz-vinyl",
"deep-object-diff",
"json-diff",
"rimraf",
"ts-loader",
"tsconfig-paths-webpack-plugin",
"webpack",
"webpack-cli",
"webpack-node-externals",
"webpack-shell-plugin-next"
]
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@
"lint": "eslint -c ./.eslintrc.cjs \"**/*.{ts,js,cjs}\"",
"prettier": "prettier --check **/*.{ts,js,cjs,json,yaml}",
"type-check": "tsc --project ./tsconfig.json",
"depcheck": "depcheck --config ./.depcheckrc.json",
"inflint": "inflint -c ./inflint.config.cjs",
"knip": "knip -c ./knip.json -t ./tsconfig.json --exclude dependencies,unlisted"
"knip": "knip -c ./knip.json -t ./tsconfig.json"
},
"dependencies": {
"cosmiconfig": "8.1.3",
Expand All @@ -84,9 +83,9 @@
"@vitest/coverage-c8": "0.30.1",
"chalk": "5.2.0",
"commitizen": "4.3.0",
"commitlint": "17.6.1",
"cz-vinyl": "2.1.0",
"deep-object-diff": "1.1.9",
"depcheck": "1.4.3",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-deprecation": "1.4.1",
Expand Down
Loading

0 comments on commit 9a94b4f

Please sign in to comment.