mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-16 15:00:42 +02:00
Ignore typos in copyright statements (#2373)
Those lines may contain a first or last name that can be wrongfully detected as typos. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
59b92ce9e6
commit
8bedf3882c
6
.github/_typos.toml
vendored
6
.github/_typos.toml
vendored
|
|
@ -3,6 +3,12 @@ extend-exclude = ["/themes", "/attic", "/data-definitions", "*.css", "syntax.scs
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
check-filename = true
|
check-filename = true
|
||||||
|
extend-ignore-re = [
|
||||||
|
# Ignore lines that start with `# Copyright ` (i.e. comments containing a
|
||||||
|
# copyright statement in YAML files), they may contain a first or last name
|
||||||
|
# that can be wrongfully detected as typos.
|
||||||
|
"(?Rm)^#\\s*Copyright\\s.*$",
|
||||||
|
]
|
||||||
|
|
||||||
[default.extend-identifiers]
|
[default.extend-identifiers]
|
||||||
au1ba7o = "au1ba7o"
|
au1ba7o = "au1ba7o"
|
||||||
|
|
|
||||||
1
changelogs/internal/newsfragments/2373.clarification
Normal file
1
changelogs/internal/newsfragments/2373.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Ignore typos in copyright statements.
|
||||||
Loading…
Reference in a new issue