Skip to content

Commit

Permalink
feat!: Support new knip v3 report structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Dec 5, 2023
1 parent 222feb6 commit dd67795
Show file tree
Hide file tree
Showing 5 changed files with 1,658 additions and 1,446 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This action runs [knip](https://github.com/webpro/knip), parses the results, and

The execution of `knip` requires you to have followed the general `knip` setup and have a command script present in your `package.json` file, `knip`, by default but this can be of any name. If this script name deviates from the standard `knip` setup, please provide the script name in the config.

`knip-reporter` appends a reporter to the `knip` command used, `--reporter jsonExt`, to output a parseable report with information needed for annotations where supported.
`knip-reporter` appends a reporter to the `knip` command used, `--reporter json`, to output a parseable report with information needed for annotations where supported.

```yaml
name: Pull Request
Expand Down
Loading

0 comments on commit dd67795

Please sign in to comment.