Skip to content

Commit

Permalink
chore: knip setting
Browse files Browse the repository at this point in the history
  • Loading branch information
minsgy committed Jun 11, 2024
1 parent c7e3754 commit 1cb1eed
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 370 deletions.
4 changes: 4 additions & 0 deletions .knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"entry": ["src/**/*.{js,ts,tsx}"],
"project": ["src/**/*.{js,ts,tsx}"]
}
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"example": "pnpm build && cd example && pnpm i && pnpm dev",
"prettier": "prettier --ignore-path .gitignore --write \"**/*.+(js|jsx|ts|tsx|css|scss|md|json)\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix"
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"knip": "knip"
},
"dependencies": {
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/commands": "^6.6.0",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.0",
"@faker-js/faker": "^8.4.1",
Expand All @@ -61,7 +61,6 @@
"@uiw/react-codemirror": "^4.22.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"codemirror-json-schema": "^0.7.8",
"codemirror-json5": "^1.0.3",
"constate": "^3.3.2",
"lucide-react": "0.378.0",
Expand All @@ -78,15 +77,15 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"tsup": "^7.1.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0"
"knip": "^5.18.2",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"tsup": "^7.1.0"
},
"peerDependencies": {
"msw": ">=2",
Expand Down
Loading

0 comments on commit 1cb1eed

Please sign in to comment.