Skip to content

Commit

Permalink
Update knip config to .mjs scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Oct 23, 2023
1 parent 4cdf965 commit 677cfd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const project = ["src/**/*.ts!", "test/**/*.ts", "test/**/*.tsx"];
const config: KnipConfig = {
workspaces: {
".": {
entry: ["scripts/*.js"],
project: ["scripts/**/*.ts", "scripts/**/*.js"],
entry: ["scripts/*.mjs"],
project: ["scripts/**/*.ts", "scripts/**/*.mjs"],
ignoreDependencies: ["prettier"],
},
"packages/*": { entry, project },
Expand Down

0 comments on commit 677cfd4

Please sign in to comment.