From 1defabe29d85234435fc0183cea71a36b944ee36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Flore-Th=C3=A9bault?= Date: Wed, 22 Dec 2021 16:29:42 +0100 Subject: [PATCH] chore: externalize Vale styles (for the master branch) (#2200) --- .../workflows/build-and-validate-on-pr.yaml | 4 +- .gitignore | 3 + .vale.ini | 35 ++- .vale/styles/.placeholder | 0 .vale/styles/CheDocs/Attributes.yml | 37 --- .vale/styles/CheDocs/CommonTerms.yml | 10 - .vale/styles/CheDocs/InternalLinks.yml | 9 - .vale/styles/CheDocs/Links.yml | 11 - .vale/styles/CheDocs/LinksChe6.yml | 8 - .vale/styles/CheDocs/ReadabilityGrade.yml | 11 - .vale/styles/CheDocs/SentenceLength.yml | 9 - .vale/styles/CheDocs/Spelling.yml | 217 ------------------ .vale/styles/CheDocs/TechnicalTerms.yml | 27 --- .vale/styles/IBM/Abbreviations.yml | 7 - .vale/styles/IBM/Annotations.yml | 11 - .vale/styles/IBM/DashSpacing.yml | 13 -- .vale/styles/IBM/Definitions.yml | 65 ------ .vale/styles/IBM/Ellipses.yml | 10 - .vale/styles/IBM/Foreign.yml | 12 - .vale/styles/IBM/HeadingPunctuation.yml | 14 -- .vale/styles/IBM/Headings.yml | 10 - .vale/styles/IBM/Latin.yml | 13 -- .vale/styles/IBM/OxfordComma.yml | 6 - .vale/styles/IBM/PassiveVoice.yml | 184 --------------- .vale/styles/IBM/README-proselint.md | 13 -- .vale/styles/IBM/README-write-good.md | 28 --- .vale/styles/IBM/README.md | 5 - .vale/styles/IBM/SentenceLength.yml | 7 - .vale/styles/IBM/Slash.yml | 8 - .vale/styles/IBM/Spacing.yml | 9 - .vale/styles/IBM/Spelling.yml | 20 -- .vale/styles/IBM/Terms.yml | 204 ---------------- .vale/styles/IBM/ThereIs.yml | 8 - .vale/styles/IBM/Usage.yml | 174 -------------- .vale/styles/IBM/Very.yml | 8 - .vale/styles/IBM/Wordiness.yml | 121 ---------- .vale/styles/IBM/Words.yml | 8 - tools/get_vale_styles.sh | 18 ++ tools/preview.sh | 2 + 39 files changed, 42 insertions(+), 1317 deletions(-) create mode 100644 .vale/styles/.placeholder delete mode 100644 .vale/styles/CheDocs/Attributes.yml delete mode 100644 .vale/styles/CheDocs/CommonTerms.yml delete mode 100644 .vale/styles/CheDocs/InternalLinks.yml delete mode 100644 .vale/styles/CheDocs/Links.yml delete mode 100644 .vale/styles/CheDocs/LinksChe6.yml delete mode 100644 .vale/styles/CheDocs/ReadabilityGrade.yml delete mode 100644 .vale/styles/CheDocs/SentenceLength.yml delete mode 100644 .vale/styles/CheDocs/Spelling.yml delete mode 100644 .vale/styles/CheDocs/TechnicalTerms.yml delete mode 100644 .vale/styles/IBM/Abbreviations.yml delete mode 100644 .vale/styles/IBM/Annotations.yml delete mode 100644 .vale/styles/IBM/DashSpacing.yml delete mode 100644 .vale/styles/IBM/Definitions.yml delete mode 100644 .vale/styles/IBM/Ellipses.yml delete mode 100644 .vale/styles/IBM/Foreign.yml delete mode 100644 .vale/styles/IBM/HeadingPunctuation.yml delete mode 100644 .vale/styles/IBM/Headings.yml delete mode 100644 .vale/styles/IBM/Latin.yml delete mode 100644 .vale/styles/IBM/OxfordComma.yml delete mode 100644 .vale/styles/IBM/PassiveVoice.yml delete mode 100644 .vale/styles/IBM/README-proselint.md delete mode 100644 .vale/styles/IBM/README-write-good.md delete mode 100644 .vale/styles/IBM/README.md delete mode 100644 .vale/styles/IBM/SentenceLength.yml delete mode 100644 .vale/styles/IBM/Slash.yml delete mode 100644 .vale/styles/IBM/Spacing.yml delete mode 100644 .vale/styles/IBM/Spelling.yml delete mode 100644 .vale/styles/IBM/Terms.yml delete mode 100644 .vale/styles/IBM/ThereIs.yml delete mode 100644 .vale/styles/IBM/Usage.yml delete mode 100644 .vale/styles/IBM/Very.yml delete mode 100644 .vale/styles/IBM/Wordiness.yml delete mode 100644 .vale/styles/IBM/Words.yml create mode 100755 tools/get_vale_styles.sh diff --git a/.github/workflows/build-and-validate-on-pr.yaml b/.github/workflows/build-and-validate-on-pr.yaml index 8e18cfa9f8..a6eb14625e 100644 --- a/.github/workflows/build-and-validate-on-pr.yaml +++ b/.github/workflows/build-and-validate-on-pr.yaml @@ -79,4 +79,6 @@ jobs: run: tools/detect-unused-images.sh - name: Validate language on files added or modified - run: tools/validate_language_changes.sh + run: | + tools/get_vale_styles.sh + tools/validate_language_changes.sh diff --git a/.gitignore b/.gitignore index 934d633ebb..7f9a58857a 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,9 @@ build/site build/site.zip build/site-unbranded +# Keep Vale styles external +.vale/styles/ + linkchecker-out.html .ash_history .bash_history diff --git a/.vale.ini b/.vale.ini index 6f4706e688..38b9a2724c 100644 --- a/.vale.ini +++ b/.vale.ini @@ -11,7 +11,7 @@ StylesPath = .vale/styles MinAlertLevel = suggestion # IgnoredScopes specifies inline-level HTML tags to ignore. -# These tags may occur in an active scope (unlike SkippedScopes, skipped entirely) but their content still won't raise any alerts. +# These tags may occur in an active scope (unlike SkippedScopes, skipped entirely) but their content still will not raise any alerts. # Default: ignore `code` and `tt`. IgnoredScopes = code, tt, img, url, a, body.id # SkippedScopes specifies block-level HTML tags to ignore. Ignore any content in these scopes. @@ -26,13 +26,7 @@ SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, # Project specific (CheDocs) # IBM Style Guide (IBM) # Generic (Vale) -BasedOnStyles = CheDocs,IBM - -# Altering rules severity (error, warning, suggestion) -CheDocs.ReadabilityGrade = suggestion -IBM.Annotations = suggestion -IBM.Slash = warning -IBM.Usage = suggestion +BasedOnStyles = CheDocs,RedHat # Ignore attributes definition, id statements TokenIgnores = (:[^\n]+: [^\n]+), (\[id=[^\n]+) @@ -43,18 +37,21 @@ properties = md # Define specific rules for the `md` format, hijacked to process `che.properties`. [*.md] -BasedOnStyles = CheDocs,IBM +BasedOnStyles = RedHat # Ignore code surrounded by backticks or plus sign, parameters defaults, URLs. TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[) -IBM.Annotations = suggestion -IBM.HeadingPunctuation = NO -IBM.Headings = NO -IBM.Slash = warning -IBM.Usage = suggestion +RedHat.Annotations = suggestion +RedHat.HeadingPunctuation = NO +RedHat.Headings = NO +RedHat.Slash = warning +RedHat.Usage = suggestion [*.ini] -BasedOnStyles = CheDocs,IBM -IBM.Slash = NO -IBM.Spacing = NO -CheDocs.Spelling = NO -CheDocs.ConfigMap = NO +BasedOnStyles = RedHat +RedHat.Slash = NO +RedHat.Spacing = NO +RedHat.Spelling = NO +RedHat.url = NO +RedHat.ConfigMap = NO +RedHat.write = NO + diff --git a/.vale/styles/.placeholder b/.vale/styles/.placeholder new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.vale/styles/CheDocs/Attributes.yml b/.vale/styles/CheDocs/Attributes.yml deleted file mode 100644 index afa216c4b7..0000000000 --- a/.vale/styles/CheDocs/Attributes.yml +++ /dev/null @@ -1,37 +0,0 @@ ---- -extends: substitution -ignorecase: true -level: error -message: Use the attribute %s instead of '%s'. -scope: sentence -# scope: raw -# swap maps tokens in form of bad: good -swap: - '\s[^[:punct:]]keycloak[^[:punct:]\.]': "{identity-provider}" - '\s[^[:punct:]]kubectl[^[:punct:]]': "{orch-cli}" - '\s[Dd]ev[Ww]orkspace[^\}]': "{devworkspace}" - '\s[Dd]ev[Ww]orkspaces': "{devworkspace}" - '\s[Dd]ev [Ww]orkspace': "{devworkspace}" - '\s[^[:punct:]]kubernetes[^[:punct:]]': "{orch-name}, {platforms-name}, or {kubernetes}" - '\sche[^-] ': "{prod-short}" - '\skubernetes[ ]': "{orch-name}, {platforms-name}, or {kubernetes}" - '\snamespace[, ]': "{orch-namespace}, {platforms-namespace}, or {namespace}" - "`kubectl` or `oc`": "{orch-family-cli}" - "Image Puller": "{image-puller-name-short}" - '\sIdentity Provider[^\}]': "{identity-provider} or {platforms-identity-provider}" - "Keycloak or RH-SSO": "{platforms-identity-provider}" - "Kubernetes (?:and|or) OpenShift": "{platforms-name}" - "Kubernetes Image Puller Operator": "{image-puller-operator-name}" - "Kubernetes Image Puller": "{image-puller-name}" - "Kubernetes Ingress or OpenShift Route": "{platforms-ingress}" - "Kubernetes Ingress": "{orch-ingress} or {platforms-ingress}" - "Kubernetes namespace": "{orch-namespace}, {platforms-namespace}, or {namespace}" - "kubernetes-image-puller": "{image-puller-deployment-name}" - "KubernetesImagePuller": "{image-puller-cr-name}" - "namespace or project": "{platforms-namespace}" - "OpenShift (?:and|or) Kubernetes": "{platforms-name}" - "prod-url-secure": prod-url - "quay.io/eclipse/kubernetes-image-puller": "{image-puller-image-name}" - "RH-SSO": "{identity-provider}" - "RHSSO": "{identity-provider}" - # '\s[^[:punct:]]namespace[^[:punct:]]': "{platforms-namespace} or {orch-namespace}" diff --git a/.vale/styles/CheDocs/CommonTerms.yml b/.vale/styles/CheDocs/CommonTerms.yml deleted file mode 100644 index 7ae943fc51..0000000000 --- a/.vale/styles/CheDocs/CommonTerms.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -extends: substitution -ignorecase: false -level: warning -message: Consider using '%s' instead of '%s' -swap: - '\s[^n] binary': tool - '\sis installed': is available - '\spresent': available - '\sprogram': tool diff --git a/.vale/styles/CheDocs/InternalLinks.yml b/.vale/styles/CheDocs/InternalLinks.yml deleted file mode 100644 index 71d0cf1661..0000000000 --- a/.vale/styles/CheDocs/InternalLinks.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -extends: existence -ignorecase: false -level: error -message: Use xref statement for internal links instead of '%s' -scope: raw -tokens: - - '(link\:(?!h|\{|\:| |chrome\:\/\/|about\:preferences).*)' - - '(link\:#.*)' diff --git a/.vale/styles/CheDocs/Links.yml b/.vale/styles/CheDocs/Links.yml deleted file mode 100644 index 723ef7c630..0000000000 --- a/.vale/styles/CheDocs/Links.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -extends: substitution -ignorecase: true -level: error -message: Use '%s' instead of '%s.' -swap: - \slink\:https\://www.eclipse.org\S*\s: link:{site-baseurl}che-7/ - \shttps\://www.eclipse.org\S*\s: link:{site-baseurl}che-7/ - github.com/eclipse/che/blob: github.com/eclipse-che/che-server/blob - github.com/eclipse/che/tree: github.com/eclipse-che/che-server/tree - github.com/eclipse/che-theia: github.com/eclipse-che/che-theia diff --git a/.vale/styles/CheDocs/LinksChe6.yml b/.vale/styles/CheDocs/LinksChe6.yml deleted file mode 100644 index 280eeea587..0000000000 --- a/.vale/styles/CheDocs/LinksChe6.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -code: false -extends: existence -ignorecase: true -level: error -message: Eclipse Che 6 is obsolete. Consider removing '%s' -tokens: - - www.eclipse.org\S*che-6 diff --git a/.vale/styles/CheDocs/ReadabilityGrade.yml b/.vale/styles/CheDocs/ReadabilityGrade.yml deleted file mode 100644 index dc4c71924a..0000000000 --- a/.vale/styles/CheDocs/ReadabilityGrade.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -extends: readability -message: "Grade level (%s) too high!" -level: warning -grade: 21 -metrics: - - Flesch-Kincaid - - Gunning Fog - - Coleman-Liau - - SMOG - - Automated Readability diff --git a/.vale/styles/CheDocs/SentenceLength.yml b/.vale/styles/CheDocs/SentenceLength.yml deleted file mode 100644 index a70539f22d..0000000000 --- a/.vale/styles/CheDocs/SentenceLength.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -extends: occurrence -message: 'Keep sentences short and to the point' -description: 'A good rule-of-thumb is to break up any sentence longer than 21 words into two or more separate thoughts.' -scope: sentence -source: PLainLanguage -level: suggestion -max: 21 -token: '\b(\w+)\b' diff --git a/.vale/styles/CheDocs/Spelling.yml b/.vale/styles/CheDocs/Spelling.yml deleted file mode 100644 index 1b6bc8d672..0000000000 --- a/.vale/styles/CheDocs/Spelling.yml +++ /dev/null @@ -1,217 +0,0 @@ -extends: spelling -message: "Did you really mean '%s'?" -level: error -link: https://vale-at-red-hat.github.io/vale-at-red-hat/docs/contributor-guide/extending-the-spelling-rule/ -# A "filter" is a case-sensitive regular expression specifying words -# to ignore during spell checking. -# Spelling rule applies to individual words -filters: - - '\.NET' - - 'I/O' - - 'Node\.js' - - "[aA]utostart" - - "[bB]ackfilling" - - "[bB]indable" - - "[bB]oolean" - - "[bB]reakpoint" - - "[bB]reakpoints" - - "[cC]he" - - "[cC]lassloading" - - "[cC]olocate" - - "[cC]onfig" # to enable "config map" - - "[dD]evfile" - - "[dD]evfiles" - - "[dD]ev[wW]orkspace" - - "[dD]ownstream" - - "[dD]ownstreaming" - - "[eE]xposal" - - "[Ff]actories" - - "[Ff]actory" - - "[fF]ailback" - - "[fF]ailover" - - "[gG]it" - - "[gG]rafana" - - "[hH]eatmap" - - "[hH]ostname" - - "[hH]yperconverged" - - "[iI]node" - - "[iI]tem" - - "[jJ]ournald" - - "[jJ]ournaling" - - "[kK]eycloak" - - "[kK]eyring" - - "[kK]eyrings" - - "[lL]icensor" - - "[lL]iveness" - - "[lL]oopback" - - "[mM]ebibytes" - - "[mM]illicores" - - "[mM]ixin" - - "[mM]ixins" - - "[mM]odularization" - - "[mM]ulticluster" - - "[mM]ultihost" - - "[mM]ultinode" - - "[mM]ultitenant" - - "[mM]ultiuser" - - "[mM]ultizone" - - "[nN]amespace" - - "[nN]amespaces" - - "[oO]nboarding" - - "[oO]perator" - - "[pP]reconfigured" - - "[rR]eadonly" - - "[rR]ebalance" - - "[rR]ebalances" - - "[rR]ebalancing" - - "[rR]ebase" - - "[rR]ebased" - - "[rR]eshard" - - "[rR]esharding" - - "[rR]eshards" - - "[rR]esyncing" - - "[rR]ollout" - - "[rR]ollouts" - - "[rR]untime" - - "[rR]untimes" - - "[sS]erializer" - - "[sS]erverless" - - "[sS]harding" - - "[sS]ubnetwork" - - "[sS]ubpath" - - "[sS]ubpaths" - - "[sS]ubstep" - - "[sS]ubsteps" - - "[sS]ubuser" - - "[sS]ubusers" - - "[sS]ubvolume" - - "[sS]ubvolumes" - - "[sS]ystemd" - - "[tT]heia" - - "[tT]olerations" - - "[tT]ruststore" - - "[uU]ncomment" - - "[uU]ndercloud" - - "[uU]ninstallation" - - "[uU]nmount" - - "[uU]nmounting" - - "[uU]nported" - - "[uU]nstaged" - - "[uU]ntrusted" - - "Let\'s Encrypt" - - adoc - - Ansible - - Antora - - API - - AsciiDoc - - aws - - AWS - - Azure - - Bierner - - Bitbucket - - btn - - Btrfs - - Bugzilla - - CentOS - - Ceph - - cephfs - - Che-Theia - - Civetweb - - ConfigMap - - ConfigMaps - - Cookiecutter - - CR - - CRD - - CRDs - - CRs - - Ctrl - - DaemonSet - - Datadog - - Dev - - DevWorkspace - - Dex - - DNS - - Docker - - Dockerfile - - Dockerfiles - - Dotnet - - Endevor - - endif - - Fabrice - - GitHub - - GitLab - - Gluster - - Gradle - - GUI - - Hashicorp - - Helm - - Homebrew - - htmltest - - http - - HTTP - - https - - HTTPS - - IDE - - IDEs - - Intelephense - - IntelliJ - - Java - - Jetbrains - - Joyent - - jvm - - JVM - - kbd - - Kibana - - Kubespray - - Kylin - - Laravel - - Lombok - - Mattermost - - Maven - - Microsoft - - Minikube - - Minishift - - Mirantis - - MySQL - - Nagios - - NetcoredebugOutput - - Newdoc - - Nginx - - npm - - NuGet - - OAuth - - ocp - - OmniSharp - - OpenShift - - OpenTracing - - osd - - PHP - - Podman - - PostgreSQL - - Prometheus - - Pytorch - - Quarkus - - Redistributions - - Rolfe - - SCM - - Shadowman - - Suchow - - SVG - - Telekom - - Tensorflow - - Traefik - - Uber - - URI - - URIs - - url - - URL - - URLs - - Velero - - vsix - - Webview - - Webviews - - Woopra - - Wordpress - - Yana - - Yeoman - - Zowe diff --git a/.vale/styles/CheDocs/TechnicalTerms.yml b/.vale/styles/CheDocs/TechnicalTerms.yml deleted file mode 100644 index 293eb33ab4..0000000000 --- a/.vale/styles/CheDocs/TechnicalTerms.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -extends: substitution -ignorecase: false -level: error -message: Use '%s' instead of '%s' -scope: sentence -swap: - '\sContainer Registry': Red Hat Ecosystem Catalog - '\sContainer Catalog': Red Hat Ecosystem Catalog - '\sDotnet': .NET - '\sdotnet': .NET - '\sgithub': GitHub - '\side': IDE - '\sjetbrains': Jetbrains - '\sjava': Java - '\netcoredebugoutput': NetcoredebugOutput - '\soperator': Operator - '\spod': Pod - '\spostgres': PostgreSQL - '\sPostgres': PostgreSQL - '\sSsl': TLS - '\sssl': TLS - '\sSSL': TLS - '\syaml': YAML - url: URL - urls: URLs - URLS: URLs diff --git a/.vale/styles/IBM/Abbreviations.yml b/.vale/styles/IBM/Abbreviations.yml deleted file mode 100644 index e7b85f2359..0000000000 --- a/.vale/styles/IBM/Abbreviations.yml +++ /dev/null @@ -1,7 +0,0 @@ -extends: existence -message: "Do not use periods in all-uppercase abbreviations such as '%s'." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N100DC' -level: error -nonword: true -tokens: - - '\b(?:[A-Z]\.){3,5}' diff --git a/.vale/styles/IBM/Annotations.yml b/.vale/styles/IBM/Annotations.yml deleted file mode 100644 index a8c06f5c3b..0000000000 --- a/.vale/styles/IBM/Annotations.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -extends: existence -message: "'%s' left in text." -ignorecase: false -level: error -source: proselint -tokens: - - XXX - - FIXME - - TODO - - NOTE diff --git a/.vale/styles/IBM/DashSpacing.yml b/.vale/styles/IBM/DashSpacing.yml deleted file mode 100644 index ea9a103b73..0000000000 --- a/.vale/styles/IBM/DashSpacing.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Add spaces around the dash in '%s'." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N106BF' -ignorecase: true -nonword: true -level: error -action: - name: edit - params: - - remove - - ' ' -tokens: - - '[^\s][—–][^\s]' diff --git a/.vale/styles/IBM/Definitions.yml b/.vale/styles/IBM/Definitions.yml deleted file mode 100644 index ec9f6f0de9..0000000000 --- a/.vale/styles/IBM/Definitions.yml +++ /dev/null @@ -1,65 +0,0 @@ -extends: conditional -message: "Define acronyms and abbreviations (such as '%s') on first occurrence if they're likely to be unfamiliar." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N100DC' -level: suggestion -ignorecase: false -# Ensures that the existence of 'first' implies the existence of 'second'. -first: '\b([A-Z]{3,5}s?)\b' -second: '\(([A-Z]{3,5}s?)\)' -# ... with the exception of these: -exceptions: - - API - - ASP - - CLI - - CPU - - CSS - - CSV - - DEBUG - - DOM - - DPI - - FAQ - - GCC - - GDB - - GET - - GPU - - GTK - - GUI - - HTML - - HTTP - - HTTPS - - IDE - - JAR - - JSON - - JSX - - LESS - - LLDB - - NET - - NOTE - - NVDA - - OSS - - PATH - - PDF - - PHP - - POST - - RAM - - REPL - - RSA - - SCM - - SCSS - - SDK - - SQL - - SSH - - SSL - - SVG - - SWAT - - TBD - - TCP - - TODO - - URI - - URL - - USB - - UTF - - XML - - XSS - - YAML - - ZIP diff --git a/.vale/styles/IBM/Ellipses.yml b/.vale/styles/IBM/Ellipses.yml deleted file mode 100644 index b313155d3a..0000000000 --- a/.vale/styles/IBM/Ellipses.yml +++ /dev/null @@ -1,10 +0,0 @@ -extends: existence -message: "Avoid the ellipsis (...) except to indicate omitted words." -link: https://www.ibm.com/developerworks/library/styleguidelines/index.html -nonword: true -level: warning -action: - name: remove -tokens: - - '\.\.\.' - - '…' diff --git a/.vale/styles/IBM/Foreign.yml b/.vale/styles/IBM/Foreign.yml deleted file mode 100644 index 6bd25e67ad..0000000000 --- a/.vale/styles/IBM/Foreign.yml +++ /dev/null @@ -1,12 +0,0 @@ -extends: substitution -message: "Use '%s' instead of '%s'." -link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words -ignorecase: true -level: error -nonword: true -action: - name: replace -source: Microsoft -swap: - '\b(?:eg|e\.g\.)[\s,]': for example - '\b(?:ie|i\.e\.)[\s,]': that is diff --git a/.vale/styles/IBM/HeadingPunctuation.yml b/.vale/styles/IBM/HeadingPunctuation.yml deleted file mode 100644 index f47bd827ab..0000000000 --- a/.vale/styles/IBM/HeadingPunctuation.yml +++ /dev/null @@ -1,14 +0,0 @@ -extends: existence -message: "Don't use end punctuation in headings." -link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods -nonword: true -level: warning -scope: heading -source: Microsoft -action: - name: edit - params: - - remove - - '.?!' -tokens: - - '[a-z0-9][.?!](?:\s|$)' diff --git a/.vale/styles/IBM/Headings.yml b/.vale/styles/IBM/Headings.yml deleted file mode 100644 index d471140000..0000000000 --- a/.vale/styles/IBM/Headings.yml +++ /dev/null @@ -1,10 +0,0 @@ -extends: capitalization -message: "'%s' should use sentence-style capitalization." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N1030C' -level: suggestion -scope: heading -match: $sentence -indicators: - - ':' -exceptions: - - IBM diff --git a/.vale/styles/IBM/Latin.yml b/.vale/styles/IBM/Latin.yml deleted file mode 100644 index b0d2b2b1cc..0000000000 --- a/.vale/styles/IBM/Latin.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: substitution -message: "Use '%s' instead of '%s'." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#wordlist' -ignorecase: true -level: error -nonword: true -action: - name: replace -swap: - '\b(?:eg|e\.g\.)[\s,]': for example - '\b(?:ie|i\.e\.)[\s,]': that is - '\betc\.': and so on - '\bvs\.': versus diff --git a/.vale/styles/IBM/OxfordComma.yml b/.vale/styles/IBM/OxfordComma.yml deleted file mode 100644 index 6e7f76c7aa..0000000000 --- a/.vale/styles/IBM/OxfordComma.yml +++ /dev/null @@ -1,6 +0,0 @@ -extends: existence -message: "Use the Oxford comma in '%s'." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N106BF' -level: suggestion -tokens: - - '(?:[^,]+,){1,}\s\w+\sand' diff --git a/.vale/styles/IBM/PassiveVoice.yml b/.vale/styles/IBM/PassiveVoice.yml deleted file mode 100644 index e66876eb59..0000000000 --- a/.vale/styles/IBM/PassiveVoice.yml +++ /dev/null @@ -1,184 +0,0 @@ ---- -extends: existence -message: "'%s' is passive voice. Consider rewording in active voice." -ignorecase: true -level: suggestion -raw: - - \b(am|are|were|being|is|been|was|be)\b\s* -tokens: - - '[\w]+ed' - - awoken - - beat - - become - - been - - begun - - bent - - beset - - bet - - bid - - bidden - - bitten - - bled - - blown - - born - - bought - - bound - - bred - - broadcast - - broken - - brought - - built - - burnt - - burst - - cast - - caught - - chosen - - clung - - come - - cost - - crept - - cut - - dealt - - dived - - done - - drawn - - dreamt - - driven - - drunk - - dug - - eaten - - fallen - - fed - - felt - - fit - - fled - - flown - - flung - - forbidden - - foregone - - forgiven - - forgotten - - forsaken - - fought - - found - - frozen - - given - - gone - - gotten - - ground - - grown - - heard - - held - - hidden - - hit - - hung - - hurt - - kept - - knelt - - knit - - known - - laid - - lain - - leapt - - learnt - - led - - left - - lent - - let - - lighted - - lost - - made - - meant - - met - - misspelt - - mistaken - - mown - - overcome - - overdone - - overtaken - - overthrown - - paid - - pled - - proven - - put - - quit - - read - - rid - - ridden - - risen - - run - - rung - - said - - sat - - sawn - - seen - - sent - - set - - sewn - - shaken - - shaven - - shed - - shod - - shone - - shorn - - shot - - shown - - shrunk - - shut - - slain - - slept - - slid - - slit - - slung - - smitten - - sold - - sought - - sown - - sped - - spent - - spilt - - spit - - split - - spoken - - spread - - sprung - - spun - - stolen - - stood - - stridden - - striven - - struck - - strung - - stuck - - stung - - stunk - - sung - - sunk - - swept - - swollen - - sworn - - swum - - swung - - taken - - taught - - thought - - thrived - - thrown - - thrust - - told - - torn - - trodden - - understood - - upheld - - upset - - wed - - wept - - withheld - - withstood - - woken - - won - - worn - - wound - - woven - - written - - wrung diff --git a/.vale/styles/IBM/README-proselint.md b/.vale/styles/IBM/README-proselint.md deleted file mode 100644 index b08cef98d5..0000000000 --- a/.vale/styles/IBM/README-proselint.md +++ /dev/null @@ -1,13 +0,0 @@ - -Copyright © 2014–2015, Jordan Suchow, Michael Pacer, and Lara A. Ross -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/.vale/styles/IBM/README-write-good.md b/.vale/styles/IBM/README-write-good.md deleted file mode 100644 index ba919b6fe1..0000000000 --- a/.vale/styles/IBM/README-write-good.md +++ /dev/null @@ -1,28 +0,0 @@ - -Based on [write-good](https://github.com/btford/write-good). - -> Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too. - -``` -The MIT License (MIT) - -Copyright (c) 2014 Brian Ford - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -``` diff --git a/.vale/styles/IBM/README.md b/.vale/styles/IBM/README.md deleted file mode 100644 index 35f651fa41..0000000000 --- a/.vale/styles/IBM/README.md +++ /dev/null @@ -1,5 +0,0 @@ - -IBM style guide was created by IBM: https://www.ibm.com/developerworks/library/styleguidelines/index.html -All rights for the style guide belong to IBM. - -Rules were compiled at: https://github.com/errata-ai/IBM diff --git a/.vale/styles/IBM/SentenceLength.yml b/.vale/styles/IBM/SentenceLength.yml deleted file mode 100644 index 0946cf559f..0000000000 --- a/.vale/styles/IBM/SentenceLength.yml +++ /dev/null @@ -1,7 +0,0 @@ -extends: occurrence -message: "Try to keep sentences less than 25 words." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#N106FB' -scope: sentence -level: suggestion -max: 25 -token: \b(\w+)\b diff --git a/.vale/styles/IBM/Slash.yml b/.vale/styles/IBM/Slash.yml deleted file mode 100644 index 07df5ba8fc..0000000000 --- a/.vale/styles/IBM/Slash.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -extends: existence -message: "Use either 'or' or 'and' in '%s'" -ignorecase: true -level: error -source: PlainLanguage -tokens: - - '\w+/\w+' diff --git a/.vale/styles/IBM/Spacing.yml b/.vale/styles/IBM/Spacing.yml deleted file mode 100644 index c86a760eff..0000000000 --- a/.vale/styles/IBM/Spacing.yml +++ /dev/null @@ -1,9 +0,0 @@ -extends: existence -message: "'%s' should have one space." -link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods -level: error -nonword: true -source: Microsoft -tokens: - - '[a-z][.?!] {2,}[A-Z]' - - '[a-z][.?!][A-Z]' diff --git a/.vale/styles/IBM/Spelling.yml b/.vale/styles/IBM/Spelling.yml deleted file mode 100644 index 4fd8054fc0..0000000000 --- a/.vale/styles/IBM/Spelling.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -extends: consistency -message: "Use General American spelling of '%s'." -level: error -ignorecase: true -source: proselint -either: - advisor: adviser - analyse: analyze - centre: center - colour: color - emphasise: emphasize - finalise: finalize - focussed: focused - labour: labor - learnt: learned - organise: organize - organised: organized - organising: organizing - recognise: recognize diff --git a/.vale/styles/IBM/Terms.yml b/.vale/styles/IBM/Terms.yml deleted file mode 100644 index 87222d8e20..0000000000 --- a/.vale/styles/IBM/Terms.yml +++ /dev/null @@ -1,204 +0,0 @@ ---- -extends: substitution -message: Consider using '%s' instead of '%s' -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#wordlist' -level: error -ignorecase: true -action: - name: replace -# swap maps tokens in form of bad: good -swap: - '(?:Ctrl|control)-click': press Ctrl and click - 'a lot(?: of)?': many|much - 'backward(?:-)?compatible': compatible with earlier versions - 'bottom(?:-)?left': lower left|lower-left - 'bottom(?:-)?right': lower right|lower-right - 'down(?:-)?level': earlier|previous|not at the latest level - 'mash(?: )?up': create - 'pop-up (?:blocker|killer)': software to block pop-up ad windows - 're(?:-)?occur': recur - 'sort(?:-|/)?merge': sort|merge - 'top(?:-)?left': upper left|upper right|upper-left|upper-right - 'top(?:-)?right': upper left|upper right|upper-left|upper-right - - # These need to be implemented in a separate file since they include word - # boundaries ('.'). - # - # See https://github.com/errata-ai/Microsoft/blob/master/Microsoft/Foreign.yml - # - # e.g.: for example|such as - # etc.: and so on - # i.e.: that is - # vs.: versus|compared to - - # These are currenly invalid patterns. - # - # dismiss (a window, a dialog box): close - # position (a cursor): move - # spawn (a process): create - # strike (a key): press|type - # touch (a key): press|type - - a number of: several - abort: cancel|stop - administrate: administer - all caps: uppercase - and/or: a or b|a, b, or both - as long as: if|provided that - as per: according to|as|as in - back-level: earlier|previous|not at the latest level - Big Blue: IBM - blink: flash - blue screen of death: stop error - breadcrumbing: breadcrumb trail - canned: preplanned|preconfigured|predefined - case insensitive: not case-sensitive - catastrophic error: unrecoverable error - CBE: Common Base Event - CBTS: CICS BTS|BTS - cold boot: hardware restart - cold start: hardware restart - comes with: includes - componentization: component-based development|component model|component architecture|shared components - componentize: develop components - comprised of: consist of - connect with: connect to - context menu: menu|pop-up menu - contextual help: help|context-sensitive help - crash: fail|lock up|stop|stop responding - CRUD: create retrieve update and delete - #customer: client COMMENT: needs better implementation to avoid `Customer Portal` - datum: data - debuggable: debug - deconfigure: unconfigure - deinstall: uninstall - deinstallation: uninstallation - demilitarized zone: DMZ - demo: demonstration - depress: press|type - deregister: unregister - desire: want|required - destroy: delete from the database - dismount: demount|unmount|remove - #do: complete|perform COMMENT: needs better implementation to avoid `do not` - downgrade: upgrade|fallback|fall back|rollback|roll back - downward compatible: compatible with earlier versions - drag and drop: drag - drill up: navigate - e-fix: fix|interim fix - eFix: fix|interim fix - end user: user - end-user interface: graphical interface|interface - EUI: graphical user interface|interface - #expose: display|show|make available COMMENT: too many false positives w/ "expose the route" - fill in: complete|enter|specify - fixed disk drive: hard disk drive - flavor: version|method - floppy disk: diskette|diskette drive - floppy drive: diskette|diskette drive - floppy: diskette|diskette drive - forward compatible: compatible with later versions - gzip: compress - gzipped: archive|compressed file - hard drive: hard disk|hard disk drive - hard file: hard disk|hard disk drive - hence: therefore - i-fix: interim fix - i-Fix: interim fix - IBM's: IBM's|IBM's AIX - ifix: interim fix - iFix: interim fix - in order to: to - in other words: for example|that is - in spite of: regardless of|despite - in the event: in case|if|when - inactivate: deactivate - information on: information about - information technology: IT - instead of: rather than - insure: ensure - Internet address: IP address|URL|Internet email address|web address - irrecoverable: unrecoverable - jar: compress|archive - keep in mind: remember - #key: type|press COMMENT: too many false positives - laptop: notebook - launch: start|open - left-hand: left - let's: let us - leverage: use - line cord: power cable|power cord - main directory: root directory - memory stick: USB flash drive - microcomputer: PC - motherboard: system board - mouse over: point to|move the mouse pointer over|Mouse|mouse over - network-centric computing: network computing - non-English: in languages other than English|non-English-language - nonrecoverable: unrecoverable - notion: concept - off-premise: on-premises|off-premises|onsite|offsite - offline storage: auxiliary storage - on ramp: access method - on the fly: dynamically|as needed|in real time|immediately - on the other hand: however|alternatively|conversely - on-premise: on-premises|off-premises|onsite|offsite - on-ramp: access method - pain point: challenge|concern|difficulty|issue - parent task: parent process - perimeter network: DMZ - phone: telephone|cell phone|mobile phone - power down: turn on|turn off - power off: turn on|turn off - power on: turn on|turn off - preload: preinstall|preinstalled - preloaded: preinstall|preinstalled - prepend: add a prefix to - recommend: suggest - retry: retry|try again - right double-click: double right-click - right-hand: right - rule of thumb: rule - sanity check: test|evaluate - secondary storage: auxiliary storage - selection button: left mouse button - serial database: nonpartitioned database environment - shift-click: press Shift and click - ship: include|included - Simple Object Access Protocol: SOAP - single quote mark: single quotation mark - single quote: single quotation mark - SME routine: session management exit routine - start up: start - sunset: withdraw from service|withdraw from marketing|discontinue|no longer support - switch off: power on|turn on|power off|turn off - switch on: power on|turn on|power off|turn off - tar: compress|archive - tarball: tar file - terminate: end|stop - thru: through - thumbstick: USB flash drive - thus: therefore - toggle off: toggle - tooling: tools - touchscreen: touch-sensitive screen - transition: make the transition|move|migrate|change - typo: typing error|typographical error - uncheck: clear - uncompress: decompress - undeploy: remove|withdraw - unjar: extract - unselect: clear|deselect - untar: extract - unzip: unzip - upward compatible: compatible with later versions - utilize: use - #version: create a version|assign a version number COMMENT: too many false positives - versus: compared to - via: through - warning notice: attention notice - web-enable: enable for the web - webinar: webinar|webcast|web seminar|web-based event - wish: want - zero out: zero - zip: zip|compress diff --git a/.vale/styles/IBM/ThereIs.yml b/.vale/styles/IBM/ThereIs.yml deleted file mode 100644 index 6a4002b903..0000000000 --- a/.vale/styles/IBM/ThereIs.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -extends: existence -message: "Don't start a sentence with '%s'" -ignorecase: true -level: error -source: write-good -raw: - - '(?:^[^\w]*|[;-]\s)There\b\s(is|are)\b' diff --git a/.vale/styles/IBM/Usage.yml b/.vale/styles/IBM/Usage.yml deleted file mode 100644 index 05b7789753..0000000000 --- a/.vale/styles/IBM/Usage.yml +++ /dev/null @@ -1,174 +0,0 @@ ---- -extends: existence -message: "Verify your use of '%s' with the word usage guidelines." -link: 'https://www.ibm.com/developerworks/library/styleguidelines/index.html#wordlist' -ignorecase: true -level: warning -tokens: - # This need its own rule since it doesn't have a left-hand word boundary. - # - (s) - - # These also need their own rule: - # - neither ... nor - # - if...then - - - 'pop-up (?:help|menu)' - - 'redbook(:s)?' - - about - - above - - across - - actionable - - allow - - alpha - - alphabetic - - alphabetical - - and so on - - architect - - architected - - as - - as well as - - assembler - - attach - - below - - best-of-breed - - between - - billion - - bitness - - black box - - board - - both - - bring up - - business partner - - cache - - camel case - - carry out - - catch - - central processing unit - - check - - choose - - combination box - - combo box - - command console - - Common Base Event - - complete - - congratulations - - connect - - consumability - - consume - - could - - CPU - - customers - - daughterboard - - decompress - - decompressed - - deploy - - designed to - - display - - domestic - - done - - due to - - either - - EPUB - - execute - - fatal - - foo - - foobar - - foreign - - free - - freeze - - fubar - - functionality - - geography - - green screen - - guarantee - - hard boot - - hash - - hash sign - - higher - - hit - - hover help - - illegal - - impact - - info center - - infocenter - - information center - - ingest - - internationalize - - invoke - - itself - - Java Development Kit \(JDK\) - - kill - - latest - - legacy - - let - - like - - lite - - localize - - look and feel - - look-and-feel - - machine - - master and slave - - migrate - - native - - new - - once - - out-of-the-box - - overhead - - panel - - partner - - permit - - please - - pound sign - - program temporary fix - - proper - - pull-down - - quote - - quoted - - refer to - - repair - - reside - - respective - - respectively - - select - - selected - - should - - simply - - since - - slave - - so - - soft boot - - Solution Partnership Centers - - some - - store - - system - - tab - - text entry field - - text field - - that - - themselves - - then - - there are - - there is - - this means - - through - - throw - - throwable - - time to value - - time-tested - - translate - - trillion - - twistie - - twisty - - uncompressed - - unmount - - updatable - - upgrade - - users - - using - - very - - we - - where - - whether or not - - which - - while - - would diff --git a/.vale/styles/IBM/Very.yml b/.vale/styles/IBM/Very.yml deleted file mode 100644 index b3f50c3be3..0000000000 --- a/.vale/styles/IBM/Very.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -extends: existence -message: "Remove '%s'." -ignorecase: true -level: error -source: proselint -tokens: - - very diff --git a/.vale/styles/IBM/Wordiness.yml b/.vale/styles/IBM/Wordiness.yml deleted file mode 100644 index 9d0535c2f4..0000000000 --- a/.vale/styles/IBM/Wordiness.yml +++ /dev/null @@ -1,121 +0,0 @@ ---- -extends: substitution -message: Consider using '%s' instead of '%s' -ignorecase: true -level: warning -source: PlainLanguage -swap: - (?:give|gave) rise to: lead to - (?:previous|prior) to: before - a (?:large)? majority of: most - a (?:large)? number of: many - a myriad of: myriad - adequate number: enough - adversely impact: hurt - all across: across - all of a sudden: suddenly - all of these: these - all of: all - all-time record: record - almost all: most - almost never: seldom - along the lines of: similar to - an appreciable number of: many - an estimated: about - any and all: all - are in agreement: agree - as a matter of fact: in fact - as a means of: to - as a result of: because of - as of yet: yet - as per: per - at a later date: later - at all times: always - at the present time: now - at this point in time: at this point - based in large part on: based on - based on the fact that: because - basic necessity: necessity - because of the fact that: because - came to a realization: realized - came to an abrupt end: end[ed] abruptly - carry out an evaluation of: evaluate - close down: close - closed down: closed - complete stranger: stranger - completely separate: separate - concerning the matter of: regarding - conduct a review of: review - conduct an investigation: investigate - conduct experiments: experiment - continue on: continue - despite the fact that: although - disappear from sight: disappear - doomed to fail: doomed - due to the fact that: because - during the period of: during - during the time that: while - emergency situation: emergency - except when: unless - excessive number: too many - extend an invitation: invite - fall down: fall - fell down: fell - for the duration of: during - gather together: gather - has the ability: can - has the capacity to: can - has the opportunity to: could - hold a meeting: meet - if this is not the case: if not - in a careful manner: carefully - in a thoughtful manner: thoughtfully - in a timely manner: timely - in an effort to: to - in between: between - in lieu of: instead of - in many cases: often - in most cases: usually - in order to: to - in some cases: sometimes - in spite of the fact that: although - in spite of: despite - in the (?:very)? near future: soon - in the event that: if - in the neighborhood of: roughly - in the vicinity of: close to - it would appear that: apparently - lift up: lift - made reference to: referred to - make reference to: refer to - mix together: mix - none at all: none - not in a position to: unable - not possible: impossible - of major importance: important - perform an assessment of: assess - pertaining to: about - place an order: order - plays a key role in: is essential to - present time: now - readily apparent: apparent - some of the: some - span across: span - subsequent to: after - successfully complete: complete - sufficient number (?:of)?: enough - take action: act - take into account: consider - the question as to whether: whether - there is no doubt but that: doubtless - this day and age: this age - this is a subject that: this subject - time (?:frame|period): time - under the provisions of: under - until such time as: until - used for fuel purposes: used for fuel - whether or not: whether - with reference to: about - with regard to: regarding - with respect to: about or on - with the exception of: except for diff --git a/.vale/styles/IBM/Words.yml b/.vale/styles/IBM/Words.yml deleted file mode 100644 index 8aae769367..0000000000 --- a/.vale/styles/IBM/Words.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -extends: substitution -message: Use '%s' instead of '%s.' -level: error -ignorecase: true -source: PlainLanguage -swap: - shall: must diff --git a/tools/get_vale_styles.sh b/tools/get_vale_styles.sh new file mode 100755 index 0000000000..4c6d26a2e2 --- /dev/null +++ b/tools/get_vale_styles.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env sh +# +# Copyright (c) 2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# + +# Fail on errors and display commands +set -ex + +# Get fresh Vale styles +cd .vale/styles || exit +rm -rf RedHat CheDocs +wget -qO- https://github.com/vale-at-red-hat/vale-at-red-hat/releases/latest/download/RedHat.zip | unzip - +wget -qO- https://github.com/vale-at-red-hat/chedocs/releases/latest/download/CheDocs.zip | unzip - diff --git a/tools/preview.sh b/tools/preview.sh index 22c4f8442e..85717c51d4 100755 --- a/tools/preview.sh +++ b/tools/preview.sh @@ -11,4 +11,6 @@ # Fail on errors and display commands set -ex +./tools/get_vale_styles.sh + LIVERELOAD=true gulp