File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/rules/user_defined_rules Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33Configuration rules are special rules that are applied once per commit and ** BEFORE** any other rules are run.
44Configuration rules are meant to dynamically change gitlint's configuration and/or the commit that is about to be
55linted.
6- A typically use-case for this is when you want to modifying gitlint's behavior for all rules against a commit matching
6+ A typically use-case for this is when you want to modify gitlint's behavior for all rules against a commit matching
77specific circumstances.
88
99!!! warning
Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ def lint(ctx):
360360 config_builder .set_config_from_commit (commit )
361361
362362 # Create a deepcopy from the original config, so we have a unique config object per commit
363- # This is important for configuration rules to be able to modifying the config on a per commit basis
363+ # This is important for configuration rules to be able to modify the config on a per commit basis
364364 commit_config = config_builder .build (copy .deepcopy (lint_config ))
365365
366366 # Actually do the linting
You can’t perform that action at this time.
0 commit comments