-
Notifications
You must be signed in to change notification settings - Fork 0
/
blue.toml
37 lines (35 loc) · 1.98 KB
/
blue.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# See https://blue.slekup.com/configuration/blue-toml for more information.
debug = false
[workspace]
clean_files = ["tmp"]
[git.commit_check]
preset = "default"
[git.commit_check.rules]
header_case = { level = "error", rule = "always", value = ["lower-case"] }
header_full_stop = { level = "error", rule = "never" }
header_max_length = { level = "error", rule = "always", value = 72 }
header_min_length = { level = "error", rule = "always", value = 3 }
references_empty = { level = "disabled", rule = "never" }
scope_case = { level = "error", rule = "always", value = ["lower-case"] }
scope_empty = { level = "error", rule = "never" }
scope_max_length = { level = "error", rule = "always", value = 20 }
scope_min_length = { level = "error", rule = "always", value = 2 }
subject_empty = { level = "error", rule = "never" }
subject_max_length = { level = "error", rule = "always", value = 50 }
subject_min_length = { level = "error", rule = "always", value = 3 }
type_case = { level = "error", rule = "always", value = ["lower-case"] }
type_empty = { level = "error", rule = "never" }
type_enum = { level = "error", rule = "always", value = [
"build", # Build System - Changes that affect the build system or external dependencies.
"chore", # Miscellaneous Chores - Regular code maintenance.
"ci", # Continous Integration - Changes to our CI configuration files and scripts.
"docs", # Documentation - Documentation only changes.
"feat", # Feature - A new feature.
"fix", # Bug Fixes - A bug fix.
"perf", # Performance Improvement - A code change that improves performance.
"refactor", # Code Refactoring - A code change that neither fixes a bug nor adds a feature.
"revert", # Reverts - Reverts a previous commit.
"style", # Styles - Changes that do not affect code meaning (white-space, formatting, missing semi-colons, etc).
"test", # Tests - Adding missing tests or correcting existing tests.
] }
type_max_length = { level = "error", rule = "always", value = 10 }