Skip to content

Commit 4711bec

Browse files
committed
ci: do not consider changelogs in typos and format
Frontend CI checked the CHANGELOG file, which is auto-generated from commits, including typos there. It also checked formatting of such file, which was wrongfully marked as unformatted. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
1 parent db2cde6 commit 4711bec

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.typos.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ PN = "PN"
4343

4444
[default.extend-identifiers]
4545
OTPs = "OTPs"
46+
47+
# Exclude changelogs: they're auto generated based on commits which are linted
48+
[files]
49+
extend-exclude = ["**/CHANGELOG.md"]

dprint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"**/*-lock.json",
1212
".reuse/templates/*",
1313
"**/schema.graphql",
14-
"frontend/**"
14+
"frontend/**",
15+
"backend/CHANGELOG.md"
1516
],
1617
"plugins": [
1718
"https://plugins.dprint.dev/json-0.21.0.wasm",

frontend/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ coverage
55
node_modules
66
src/api/__generated__
77
src/i18n/langs-compiled
8+
CHANGELOG.md

0 commit comments

Comments
 (0)