style: add codespell configuration for common spelling exceptions
This file can be extended in order to cover all spelling check exceptions (perceived as misspellings).
This commit is contained in:
parent
bc8a7f713d
commit
1efeb39da0
2 changed files with 63 additions and 0 deletions
14
.codespell-ignore-lines
Normal file
14
.codespell-ignore-lines
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* Bit fields for LESENSE CURCH */
|
||||
CURCH,
|
||||
Linix,
|
||||
Linix 45ZWN24-40 2 0.5 Ohm 0.400 mH 2.34A 24V
|
||||
* Linix 45ZWN24-40 (PMSM motor dedicated for NXP FRDM-MC-LVMTR kit)
|
||||
DUE SCHEM. PIN MAPPING SAM3X DUE SCHEM. BOARD LABEL
|
||||
SCHEM,
|
||||
* ADDR -> BTC & TBE - Send one more byte
|
||||
TBE,
|
||||
/* All even touch pads have the same position for the THN bits.
|
||||
/* All odd touch pads have the same position for the THN bits.
|
||||
THN,
|
||||
# define AES_ISR_URAT_WORRDACC (5 << AES_ISR_URAT_SHIFT) /* WRONLY register read access */
|
||||
WRONLY,
|
||||
49
.codespellrc
Normal file
49
.codespellrc
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
[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,
|
||||
|
||||
# Ignore seemingly misspelled words.
|
||||
# lowercase: case insensitive
|
||||
# uppercase: case sensitive
|
||||
# (see https://github.com/codespell-project/codespell/issues/3638)
|
||||
# This setting should be used only for frequently used words.
|
||||
# Exotic word occurrences should be filtered with the "exclude-file" setting instead.
|
||||
ignore-words-list =
|
||||
ACI,
|
||||
AFE,
|
||||
afile,
|
||||
ALS,
|
||||
AMEBA,
|
||||
ARCHTYPE,
|
||||
DAA,
|
||||
dout,
|
||||
emac,
|
||||
eeeprom,
|
||||
extint,
|
||||
filp,
|
||||
FRAM,
|
||||
hart,
|
||||
hsi,
|
||||
iif,
|
||||
inport,
|
||||
lod,
|
||||
mot,
|
||||
NWE,
|
||||
OEN,
|
||||
PRES,
|
||||
REGONS,
|
||||
SAIs,
|
||||
SER,
|
||||
synopsys,
|
||||
TE,
|
||||
TIMOUT,
|
||||
tolen,
|
||||
UE,
|
||||
WRON,
|
||||
Loading…
Add table
Reference in a new issue