Skip to content

Commit 9074117

Browse files
committed
Add working pre-commit config
1 parent 1e4224d commit 9074117

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ repos:
33
rev: "v0.14.0"
44
hooks:
55
- id: "markdownlint-cli2"
6-
files: ".*mdx"
6+
types:
7+
- "mdx"
78
- repo: "https://github.com/adrienverge/yamllint"
89
rev: "v1.35.1"
910
hooks:

pages/spicedb/concepts/consistency.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ Stored ZedTokens should be updated under these events:
142142
When these events happen, a new ZedToken is either returned or it should be requested by performing a check with full consistency.
143143
The result should be stored alongside the newly updated content in the application database.
144144

145-
For a Postgres table this can be a standard `text` column. If a fixed-width column is preferred, we recommend `varchar(1024)`.
145+
For a Postgres table this can be a standard `text` column.
146+
If a fixed-width column is preferred, we recommend `varchar(1024)`.
146147

147148
<Callout type="info">
148149
For this purpose, Google's Zanzibar has a [ContentChangeCheck API][ccc-api] because it doesn't support configurable consistency like SpiceDB.

0 commit comments

Comments
 (0)