Packages
lattice_text_core
1.0.0
Backend-agnostic grapheme and range helpers shared by lattice text CRDTs
Current section
Files
Jump to
Current section
Files
lattice_text_core
gleam.toml
gleam.toml
name = "lattice_text_core"
version = "1.0.0"
description = "Backend-agnostic grapheme and range helpers shared by lattice text CRDTs"
licences = ["MIT"]
repository = { type = "github", user = "tylerbutler", repo = "lattice" }
gleam = ">= 1.7.0"
[dependencies]
gleam_stdlib = ">= 0.48.0 and < 2.0.0"
[dev-dependencies]
startest = ">= 0.8.0 and < 1.0.0"
qcheck = ">= 1.0.0 and < 2.0.0"
glinter = ">= 2.19.0 and < 3.0.0"
[tools.glinter]
include = ["src/", "test/"]
# warnings_as_errors makes every *enabled* rule fail CI, so the few rules we
# don't enforce are turned off below; tests get a lenient profile in [ignore].
warnings_as_errors = true
[tools.glinter.rules]
# Library public API is consumed externally, so "never used in this package"
# is expected — not an issue.
unused_exports = "off"
# The codebase intentionally does not use argument labels.
label_possible = "off"
[tools.glinter.ignore]
# Tests use `let assert Ok(...)`, discard errors, panic in unreachable match
# arms, and skip return-type annotations by convention; these rules apply to
# src/ only.
"test/**/*.gleam" = ["assert_ok_pattern", "thrown_away_error", "discarded_result", "avoid_panic", "missing_type_annotation", "short_variable_name"]