Skip to content

Conversation

@oscarcarlstrom
Copy link

Ignore default release rules by setting useDefaultReleaseRules: false in the plugin config.

Oscar Carlstrom and others added 2 commits January 22, 2021 09:02
Ignore default release rules by setting useDefaultReleaseRules: false in the plugin config.
@donaldxdonald
Copy link

need this

@dawidvdh
Copy link

Could we get this merged? or is there another option to filter by a certain scope and not fallback?

@itaispiegel
Copy link

I also need this PR. When is this planned to be released?

@ajdavey8
Copy link

ajdavey8 commented Aug 9, 2023

Could this or #378 be merged? Also need this

@haydn
Copy link

haydn commented Feb 13, 2025

If anyone is looking for an easy way to get this functionality, we're maintaining a fork (that we'll keep up-to-date with the upstream) which adds a disableDefaultReleaseRules option:

https://github.com/WorkniceHR/commit-analyzer

You can install it straight from the GitHub repo:

npm install WorkniceHR/commit-analyzer --save-dev

And then configure semantic-commit like this:

{ "plugins": [ [ "@worknice/commit-analyzer", // ← updated which plugin to use { "preset": "angular", "releaseRules": [ { "type": "docs", "scope": "README", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "style", "release": "patch" } ], "disableDefaultReleaseRules": true, // ← set the new disable option } ] ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants