fix(cli): Allow nd in css

This commit is contained in:
Martin Fischer 2023-08-08 08:00:03 +02:00
parent 5181c42c57
commit e5e8f25c8e

View file

@ -7,6 +7,15 @@
pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"]; pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[ 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", "man",
StaticDictConfig { StaticDictConfig {