codespell: add codespell configuration

add codespell configuration with ignored lines for nimble

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl
2025-09-02 20:49:46 +02:00
committed by Xiang Xiao
parent 18823c8b32
commit ac08faa2b8
2 changed files with 12 additions and 0 deletions

2
.codespell-ignore-lines Normal file
View File

@@ -0,0 +1,2 @@
mynewt-nimble/nimble/host/services/ans/src/ble_svc_ans.c
mynewt-nimble/nimble/host/services/ans/include

10
.codespellrc Normal file
View File

@@ -0,0 +1,10 @@
[codespell]
# Add complete lines to be ignored to this file.
# Example for ignoring all current occurrences of (verifiably correct) word usage:
# grep -hirw "emac" | sort | uniq >>.codespell-ignore-lines
exclude-file = .codespell-ignore-lines
# Ignore complete files (e.g. legal text or other immutable material).
skip =
LICENSE,