From 74acc403838610b0c8335bae6a139c8a4cd91f66 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 8 Feb 2024 14:56:25 -0800 Subject: [PATCH] Fix typos in MQL docs + update spellcheck rules (#3248) Catch some common typos Signed-off-by: Tim Smith --- .github/actions/spelling/expect.txt | 3 +- .../actions/spelling/line_forbidden.patterns | 91 +++++++++++-------- providers/arista/resources/arista.lr | 2 +- providers/gcp/resources/gcp.lr | 12 +-- 4 files changed, 61 insertions(+), 47 deletions(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 2f7c440e09..e50806580b 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -1,4 +1,3 @@ -aks atlassian Auths autoaccept @@ -39,7 +38,6 @@ ipsetreferencestatement jira jsonbody labelmatchstatement -linux loggingservice managedrulegroupstatement managedzone @@ -80,6 +78,7 @@ testutils toplevel tpu vdcs +VNIC Vtpm vulnerabilityassessmentsettings vulnmgmt diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 3454eb7cd5..a8e7bf8f1e 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -107,6 +107,10 @@ \bRedHat\b \bRedhat\b +# s.b. EuroLinux +\bEurolinux\b +\bEuro Linux\b + # s.b. AlmaLinux \bAlma Linux\b @@ -144,6 +148,9 @@ \bOpenssl\b \bopenSSL\b +# s.b. CloudBees +\bCloudbees\b + # # Microsoft Products # @@ -219,6 +226,7 @@ # s.b. CloudFormation \bCloudformation\b +\bCloud Formation\b # s.b. CloudFront \bCloudfront\b @@ -284,6 +292,7 @@ # s.b. Fargate \bFarGate\b +\bFar Gate\b # s.b. FinSpace \bFinSpace\b @@ -300,6 +309,9 @@ # s.b. Honeycode \bHoneyCode\b +# s.b. Lambda +\bLamba\b + # s.b. Lightsail \bLightSail\b @@ -334,6 +346,9 @@ # s.b. SiteWise \bSitewise\b +# s.b. StackSets +\bStacksets\b + # s.b. WorkDocs \bWorkdocs\b @@ -344,11 +359,21 @@ # GCP Products # -# s.b. Pub/Sub -\bPubSub\b +# s.b. AlloyDB +\bAlloy DB\b -# s.b. Cloud SQL -\bCloudSQL\b +# s.b. AppEngine +\bApp Engine\b + +# s.b. BigLake +\bBig Lake\b + +# s.b. BigQuery +\bBig Query\b + +# s.b. Cloud Build +\bCloudBuild\b +\bCloud build\b # s.b. Cloud CDN \bCloudCDN\b @@ -356,63 +381,53 @@ # s.b. Cloud Functions \bCloud functions\b -# s.b. Vertex AI -\bVertexAI\b +# s.b. Cloud Run +\bCloudRun\b +\bCloud run\b -# s.b. Dialogflow -\bDialogFlow\b +# s.b. Cloud SQL +\bCloudSQL\b + +# s.b. Compute Engine +\bComputeEngine\b +\bCompute engine\b # s.b. Dataplex \bDataPlex\b -# s.b. BigLake -\bBig Lake\b +# s.b. Datastream +\bDataStream\b +\bData Stream\b -# s.b. AlloyDB -\bAlloy DB\b +# s.b. Dialogflow +\bDialogFlow\b # s.b. Firestore \bFireStore\b -# s.b. Datastream -\bDataStream\b -\bData Stream\b +# s.b. gVNIC +\bGVNIC\b + +# s.b. Knative +\bKNative\b # s.b. Memorystore \bMemoryStore\b \bMemory Store\b +# s.b. Pub/Sub +\bPubSub\b + # s.b. TensorFlow \bTensor Flow\b -# s.b. AppEngine -\bApp Engine\b - -# s.b. AppEngine -\bApp Engine\b - -# s.b. Compute Engine -\bComputeEngine\b -\bCompute engine\b +# s.b. Vertex AI +\bVertexAI\b # s.b. VMware Engine \bVMware engine\b \bVMWare Engine\b -# s.b. Knative -\bKNative\b - -# s.b. BigQuery -\bBig Query\b - -# s.b. Cloud Build -\bCloudBuild\b -\bCloud build\b - -# s.b. Cloud Run -\bCloudRun\b -\bCloud run\b - # # Azure Products # diff --git a/providers/arista/resources/arista.lr b/providers/arista/resources/arista.lr index 85b85720fa..adfa1eb1f7 100644 --- a/providers/arista/resources/arista.lr +++ b/providers/arista/resources/arista.lr @@ -171,7 +171,7 @@ arista.eos.spt.mstInterface @defaults("name") { state string // Cost value for the interface cost int - // Rort role + // Port role role string // Interface inconsistent features inconsistentFeatures dict diff --git a/providers/gcp/resources/gcp.lr b/providers/gcp/resources/gcp.lr index d8b0280879..b4574039c6 100644 --- a/providers/gcp/resources/gcp.lr +++ b/providers/gcp/resources/gcp.lr @@ -917,7 +917,7 @@ private gcp.project.storageService.bucket @defaults("id") { // Bucket location type locationType string // Project number - projectNumber string + projectNumber string // Default storage class storageClass string // Creation timestamp @@ -979,7 +979,7 @@ private gcp.project.sqlService.instance @defaults("name") { // Instance name name string // This is deprecated; use projectId instead. - project string + project string // Region region string // Replicas @@ -1064,7 +1064,7 @@ private gcp.project.sqlService.instance.settings { maintenanceWindow gcp.project.sqlService.instance.settings.maintenanceWindow // Local user password validation policy passwordValidationPolicy gcp.project.sqlService.instance.settings.passwordValidationPolicy - // Pricing plan + // Pricing plan pricingPlan string // Replication type replicationType string @@ -1652,7 +1652,7 @@ private gcp.project.gkeService.cluster.nodepool.config @defaults("machineType di gcfsConfig gcp.project.gkeService.cluster.nodepool.config.gcfsConfig // Advanced features for the Compute Engine VM advancedMachineFeatures gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures - // GVNIC configuration + // gVNIC configuration gvnicConfig gcp.project.gkeService.cluster.nodepool.config.gvnicConfig // Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag spot bool @@ -1750,11 +1750,11 @@ private gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures @ threadsPerCore int } -// GCP GKE node pool GVNIC configuration +// GCP GKE node pool gVNIC configuration private gcp.project.gkeService.cluster.nodepool.config.gvnicConfig @defaults("enabled") { // Internal ID id string - // Whether to use GVNIC + // Whether to use gVNIC enabled bool }