You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in the title, the use case is being able to enable certain user-defined rules conditionally by adding to the extra-path that is already prepopulated in an existing .gitlint file.
The text was updated successfully, but these errors were encountered:
I can see how it would be useful to allow for multiple paths to be searched by specifying multiple --extra-path options. However "appending" to what's already specified in .gitlint conflicts with how gitlint works today wrt config precedence: CLI parameters override anything specified in .gitlint (by design).
I've seen this solved in other tools by adding a new "extend" parameter. For example, black has an --extend-exclude option which serves a similar purpose. We could do something similar by introducing an --extend-extra-path option.
As described in the title, the use case is being able to enable certain user-defined rules conditionally by adding to the
extra-path
that is already prepopulated in an existing.gitlint
file.The text was updated successfully, but these errors were encountered: