From 16e746c7d4e01da4270c3f40362669e43f6b69a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B3mez=20G?= Date: Mon, 4 Mar 2024 18:53:36 +0100 Subject: [PATCH] Changed Vocab config folder structure to vale v3.x --- axoniq-vale-package/styles/README.md | 7 +++++++ axoniq-vale-package/styles/Vocab | 1 + .../{Vocab => config/vocabularies}/AxonIQ/accept.txt | 0 .../styles/{Vocab => config/vocabularies}/Java/accept.txt | 0 .../{Vocab => config/vocabularies}/Names_Terms/accept.txt | 0 .../{Vocab => config/vocabularies}/general/accept.txt | 0 .../styles/{Vocab => config/vocabularies}/misc/accept.txt | 0 7 files changed, 8 insertions(+) create mode 100644 axoniq-vale-package/styles/README.md create mode 120000 axoniq-vale-package/styles/Vocab rename axoniq-vale-package/styles/{Vocab => config/vocabularies}/AxonIQ/accept.txt (100%) rename axoniq-vale-package/styles/{Vocab => config/vocabularies}/Java/accept.txt (100%) rename axoniq-vale-package/styles/{Vocab => config/vocabularies}/Names_Terms/accept.txt (100%) rename axoniq-vale-package/styles/{Vocab => config/vocabularies}/general/accept.txt (100%) rename axoniq-vale-package/styles/{Vocab => config/vocabularies}/misc/accept.txt (100%) diff --git a/axoniq-vale-package/styles/README.md b/axoniq-vale-package/styles/README.md new file mode 100644 index 0000000..496d8ea --- /dev/null +++ b/axoniq-vale-package/styles/README.md @@ -0,0 +1,7 @@ +# Vale Package + +This folder contains the configuration for AxonIQ Vale package. + +Since vale v3.0, [config folder structure for vocabularies has changed](https://vale.sh/docs/topics/vocab/#folder-structure) and Vocabularies have been moved from `/Vocab` to `/config/vocabularies`. + +Temporarily, we keep a symbolic link in `Vocab` to `/config/vocabularies` to keep compatibility for older versions of vale. \ No newline at end of file diff --git a/axoniq-vale-package/styles/Vocab b/axoniq-vale-package/styles/Vocab new file mode 120000 index 0000000..33d9292 --- /dev/null +++ b/axoniq-vale-package/styles/Vocab @@ -0,0 +1 @@ +config/vocabularies \ No newline at end of file diff --git a/axoniq-vale-package/styles/Vocab/AxonIQ/accept.txt b/axoniq-vale-package/styles/config/vocabularies/AxonIQ/accept.txt similarity index 100% rename from axoniq-vale-package/styles/Vocab/AxonIQ/accept.txt rename to axoniq-vale-package/styles/config/vocabularies/AxonIQ/accept.txt diff --git a/axoniq-vale-package/styles/Vocab/Java/accept.txt b/axoniq-vale-package/styles/config/vocabularies/Java/accept.txt similarity index 100% rename from axoniq-vale-package/styles/Vocab/Java/accept.txt rename to axoniq-vale-package/styles/config/vocabularies/Java/accept.txt diff --git a/axoniq-vale-package/styles/Vocab/Names_Terms/accept.txt b/axoniq-vale-package/styles/config/vocabularies/Names_Terms/accept.txt similarity index 100% rename from axoniq-vale-package/styles/Vocab/Names_Terms/accept.txt rename to axoniq-vale-package/styles/config/vocabularies/Names_Terms/accept.txt diff --git a/axoniq-vale-package/styles/Vocab/general/accept.txt b/axoniq-vale-package/styles/config/vocabularies/general/accept.txt similarity index 100% rename from axoniq-vale-package/styles/Vocab/general/accept.txt rename to axoniq-vale-package/styles/config/vocabularies/general/accept.txt diff --git a/axoniq-vale-package/styles/Vocab/misc/accept.txt b/axoniq-vale-package/styles/config/vocabularies/misc/accept.txt similarity index 100% rename from axoniq-vale-package/styles/Vocab/misc/accept.txt rename to axoniq-vale-package/styles/config/vocabularies/misc/accept.txt