-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add knip + config * chore: simplify glob pattern for eslint markdown override * chore: remove ts-prune & replace workflow * chore: add dependencies to ignore (until Knip has related plugins) * chore: remove unused yargs package * chore: add markdownlint to ignored dependencies * chore: enable production mode in knip's config * Sorting, and removed yargs * Add knip to cspell.json * chore: remove dependencies now having plugins in Knip config * docs: replace ts-prune with knip * Fix lint * Updated docs and setup script * Bump knip and ignore eslint-plugin-markdown * Simplify output knip.jsonc Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
- Loading branch information
1 parent
80e0a78
commit c652bda
Showing
10 changed files
with
857 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
"contributorsrc", | ||
"conventionalcommits", | ||
"infile", | ||
"knip", | ||
"lcov", | ||
"quickstart", | ||
"wontfix" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@next/schema.json", | ||
"entry": ["src/index.ts!", "script/setup*.js"], | ||
"project": ["src/**/*.ts!", "script/**/*.js"], | ||
|
||
"ignoreDependencies": [ | ||
// Remove when Knip understands ESLint overrides > extends: | ||
"eslint-plugin-markdown", | ||
// Remove when Knip extends the release-it plugin to pluck binaries from hooks: | ||
"should-semantic-release" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.