mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix(cli): Allow nd in css
This commit is contained in:
parent
5181c42c57
commit
e5e8f25c8e
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
|||
pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
|
||||
|
||||
pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||
(
|
||||
"css",
|
||||
StaticDictConfig {
|
||||
ignore_idents: &[
|
||||
"nd", // CSS class used by pygments (see https://github.com/pygments/pygments/blob/2.16.1/pygments/token.py#L146)
|
||||
],
|
||||
ignore_words: &[],
|
||||
},
|
||||
),
|
||||
(
|
||||
"man",
|
||||
StaticDictConfig {
|
||||
|
|
Loading…
Reference in a new issue