mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-30 15:17:33 +08:00
ci(typos): add typos to .pre-commit-config.yaml
This commit is contained in:
@@ -30,3 +30,9 @@ repos:
|
|||||||
src/lv_conf_internal.h
|
src/lv_conf_internal.h
|
||||||
)
|
)
|
||||||
types_or: ["c", "header"]
|
types_or: ["c", "header"]
|
||||||
|
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/crate-ci/typos
|
||||||
|
rev: v1.16.20
|
||||||
|
hooks:
|
||||||
|
- id: typos
|
||||||
|
|||||||
+26
@@ -0,0 +1,26 @@
|
|||||||
|
[files]
|
||||||
|
extend-exclude = [
|
||||||
|
".git/",
|
||||||
|
"docs/_static/css/fontawesome.min.css",
|
||||||
|
"docs/README_*",
|
||||||
|
"src/libs/",
|
||||||
|
]
|
||||||
|
ignore-hidden = false
|
||||||
|
|
||||||
|
[default]
|
||||||
|
extend-ignore-re = [
|
||||||
|
"\\bser[^a-z]",
|
||||||
|
"\\bfle[^a-z]",
|
||||||
|
'"Lorem ipsum .*"',
|
||||||
|
"Nam consectetur",
|
||||||
|
"U\\+[0-9A-F]{4}",
|
||||||
|
'\{ "[a-z]+", "[^ -~]+" \},',
|
||||||
|
"Rename lv_chart_clear_serie",
|
||||||
|
"rename LV_ROLLER_MODE_INIFINITE",
|
||||||
|
"CARD_INFO_SET\\(&img_multilang_avatar_.*\\)",
|
||||||
|
"ACI\\)",
|
||||||
|
]
|
||||||
|
|
||||||
|
[default.extend-words]
|
||||||
|
# https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6loca.html
|
||||||
|
"loca" = "loca"
|
||||||
Reference in New Issue
Block a user