Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .changeset/patterns-matches-stack.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @codacy/codacy-cloud-cli

## 1.11.0

### Minor Changes

- [#45](https://github.com/codacy/codacy-cloud-cli/pull/45) [`e21f321`](https://github.com/codacy/codacy-cloud-cli/commit/e21f321c28ef2963a7bd0ee9cfdabb2666d15c46) Thanks [@alerizzo](https://github.com/alerizzo)! - New `-k, --matches-stack [value]` filter on `codacy patterns`, which narrows a tool's code patterns to those that do (or don't) match the repository's detected stack.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 HIGH RISK

Please verify that the referenced matches-stack implementation is already part of the target branch before releasing 1.11.0; this PR adds only the changelog and package version, not the documented feature.


It's a tri-state flag, the same shape as `issues --false-positives`:

```bash
codacy patterns eslint9 --matches-stack # only patterns matching the repo stack
codacy patterns eslint9 --matches-stack true # same
codacy patterns eslint9 --matches-stack false # only patterns that don't match
codacy patterns eslint9 # unfiltered
```

The filter applies in bulk mode too, so `--enable-all` / `--disable-all` can be scoped to the stack:

```bash
codacy patterns eslint9 --disable-all --matches-stack false
```

The summary printed after a bulk update still reports counts for the whole tool, not just the updated subset.

## 1.10.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codacy/codacy-cloud-cli",
"version": "1.10.0",
"version": "1.11.0",
"description": "A command-line tool to interact with Codacy Cloud from your terminal",
"homepage": "https://www.codacy.com",
"repository": {
Expand Down