Skip to content

Commit

Permalink
Add Canonical vocabulary (#37)
Browse files Browse the repository at this point in the history
* Add Canonical vocabulary

* Enable Vale style

Co-authored-by: Michael Park <100246223 [email protected]>

---------

Co-authored-by: Yana Hontyk <[email protected]>
Co-authored-by: Michael Park <100246223 [email protected]>
  • Loading branch information
3 people committed Jun 27, 2024
1 parent 162b3f4 commit b9e01d9
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2 deletions.
24 changes: 24 additions & 0 deletions styles/config/vocabularies/Canonical/Accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 1,24 @@
Anbox Cloud
Charmed Kubeflow
COS
Juju
Landscape
Launchpad
LXD
MAAS
MicroCeph
MicroCloud
MicroK8s
MicroOVN
MicroStack
Mir
Multipass
Snapcraft
snapd
Ubuntu Core
Ubuntu Pro
Ubuntu Server
NVIDIA
OpenStack
PostgreSQL
Kubernetes
Empty file.
35 changes: 35 additions & 0 deletions test/testvocab.md
Original file line number Diff line number Diff line change
@@ -0,0 1,35 @@
# snapd (should not be flagged)

The heading above should not be flagged by the capitalization or spelling rules.

# MASS (should not be flagged)

The heading above should not be flagged by the capitalization or spelling rules.

These product names should not be flagged:
Anbox Cloud
Charmed Kubeflow
COS
Juju
Landscape
Launchpad
LXD
MAAS
MicroCeph
MicroCloud
MicroK8s
MicroOVN
MicroStack
Mir
Multipass
Snapcraft
snapd
Ubuntu Core
Ubuntu Pro
Ubuntu Server
NVIDIA
OpenStack
PostgreSQL
Kubernetes


6 changes: 4 additions & 2 deletions vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 3,8 @@ MinAlertLevel = suggestion

[*]

BasedOnStyles = Canonical
BasedOnStyles = Canonical, Vale

IgnoredScopes =
Vocab = Canonical

IgnoredScopes =

0 comments on commit b9e01d9

Please sign in to comment.