fix: use regexTarget for extend config (#1536)

* fix: use regexTarget for extend config

* fix: add keywords from base and extended rule into global keywords list

* docs: add an example to extend default rules

* chore: update project URL references
This commit is contained in:
Roger Meier authored and GitHub committed 2024-09-29 15:45:56 -05:00
1 parent a0f2f4671c
commit a971a324fa
6 files changed
+27 -10

No files matched your search

+1
View File
@@ -8,5 +8,6 @@ path="../testdata/config/extend_3.toml"
[rules.allowlist]
commits = ['''abcdefg1''']
regexes = ['''foo.+bar''']
regexTarget = "line"
paths = ['''ignore\.xaml''']
stopwords = ['''example''']