configuration file #2

Open
opened 2026-03-24 01:08:32 +01:00 by phundrak · 0 comments
Owner

Read a .jj-cz.toml configuration file at the root of the repository. The file should look like this:

[rules]
max_description_length = 72 # positive integer
prompt_breaking = true
prompt_body = true
prompt_issues = false

[scopes]
enabled = true
required = false
predefined = ["api", "cli", "core", "docs"]
use_history = true
history_depth = 100
history_sort = "both" # can be just "recency" or "frequency"
recency_weight = 0.5 # default value, positive float
frequency_weight = 0.5 # default value, positive float

[[types]]
name = "feat"
description = "A new feature"

[[types]]
name = "fix"
description = "A bug fix"

[[types]]
name = "docs"
description = "Documentation only changes"

[[types]]
name = "refactor"
description = "Code change that neither fixes a bug nor adds a feature"

# ... more types

Depends on:

Read a `.jj-cz.toml` configuration file at the root of the repository. The file should look like this: ```toml [rules] max_description_length = 72 # positive integer prompt_breaking = true prompt_body = true prompt_issues = false [scopes] enabled = true required = false predefined = ["api", "cli", "core", "docs"] use_history = true history_depth = 100 history_sort = "both" # can be just "recency" or "frequency" recency_weight = 0.5 # default value, positive float frequency_weight = 0.5 # default value, positive float [[types]] name = "feat" description = "A new feature" [[types]] name = "fix" description = "A bug fix" [[types]] name = "docs" description = "Documentation only changes" [[types]] name = "refactor" description = "Code change that neither fixes a bug nor adds a feature" # ... more types ``` Depends on: - #8 - #9 - #10
phundrak added the Kind/Feature label 2026-03-24 01:08:32 +01:00
phundrak added this to the v1.1 project 2026-03-24 01:08:32 +01:00
phundrak added the
Priority
High
2
label 2026-03-24 01:13:53 +01:00
phundrak modified the project from v1.1 to v1.2 2026-03-24 01:16:10 +01:00
phundrak added a new dependency 2026-03-24 01:24:03 +01:00
phundrak added a new dependency 2026-03-24 01:28:27 +01:00
phundrak added a new dependency 2026-03-24 02:01:00 +01:00
phundrak added a new dependency 2026-03-24 02:03:17 +01:00
Sign in to join this conversation.