Skip to content

Commit

Permalink
Tezos-specific rules
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Dec 27, 2023
1 parent 664d81a commit 758bd56
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Vocab = Tezos
mdx = md

[*.{md,mdx}]
BasedOnStyles = Vale, write-good
BasedOnStyles = Vale, write-good, Tezos
6 changes: 6 additions & 0 deletions test/styles/Tezos/Capitalization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: substitution
message: "Always capitalize '%s'"
level: error
swap:
'[Ss]mart rollup': "Smart Rollup"
'smart [Rr]ollup': "Smart Rollup"
6 changes: 6 additions & 0 deletions test/styles/Tezos/Official.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: existence
message: "Tezos is decentralized; there is no official entity in charge of Tezos"
level: error
tokens:
- 'official Tezos'
- 'official tezos'

0 comments on commit 758bd56

Please sign in to comment.