Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] Testing vale capitalization #246

Closed
wants to merge 12 commits into from
21 changes: 21 additions & 0 deletions docs/valeTest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Testing Vale
---

Here are some things that Vale should pick up:

This is the official Tezos implementation of Vale.

It is in a chapter and an article.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Terms] Do not use the term 'chapter'

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Terms] Do not use the term 'article'


We have l1 and l2, which is smart rollups.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Tezos.Substitutions] Use 'layer 1' instead of 'l1'

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Tezos.Substitutions] Use 'layer 2' instead of 'l2'

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Capitalize] Always capitalize 'Smart Rollups'


We love smart rollups.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Capitalize] Always capitalize 'Smart Rollups'


The term Smart Contracts should not be capitalized.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.DoNotCapitalize] Do not capitalize 'smart contract'


What if I failed to capitalize smart rollups on a different line?
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Capitalize] Always capitalize 'Smart Rollups'


Adding another line about smart rollups.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Capitalize] Always capitalize 'Smart Rollups'


Some other things about smart rollups.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Tezos.Capitalize] Always capitalize 'Smart Rollups'

5 changes: 3 additions & 2 deletions test/styles/Tezos/Capitalize.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
extends: substitution
message: "Always capitalize '%s'"
level: error
ignorecase: true
swap:
'[Ss]mart rollup': "Smart Rollup"
'smart [Rr]ollup': "Smart Rollup"
smart rollup: Smart Rollup
smart rollups: Smart Rollups