Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Merge pull request #454 from Automattic/local-stats
Elijah Potter871965c63db9
diff --cc harper-core/src/linting/lint_group.rsindex 29b0296a1,4986e4dbd..b32aca155--- a/harper-core/src/linting/lint_group.rs+++ b/harper-core/src/linting/lint_group.rs@@@ -70,11 -70,10 +70,11 @@@ use crate::linting::{closed_compounds,use crate::{CharString, Dialect, Document, TokenStringExt};use crate::{Dictionary, MutableDictionary};- #[derive(Debug, Serialize, Deserialize, Default, Clone)]+ #[derive(Debug, Serialize, Deserialize, Default, Clone, PartialEq, Eq)]#[serde(transparent)]pub struct LintGroupConfig {- inner: HashMap<String, Option<bool>>,+ /// A `BTreeMap` so that the config has a stable ordering when written to disk.+ inner: BTreeMap<String, Option<bool>>,}#[cached]