---
title: Elastic style guide for Vale
description: Vale is a prose linter that checks documentation in Markdown format against the Elastic style guide. The documentation is checked when you commit changes...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/vale-linter
---

# Elastic style guide for Vale
[Vale](https://github.com/errata-ai/vale) is a prose linter that checks documentation in Markdown format against the [Elastic style guide](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/style-guide). The documentation is checked when you commit changes to a pull request.
Follow the instructions on this page to:
- [Use the Vale action for GitHub](#vale-checks-in-pull-requests) to check for style issues when you commit changes to a pull request.
- [Use the Vale linter in your IDE](#use-the-vale-linter-locally) to check for style issues while writing documentation.


## Vale checks in pull requests

The Vale action for GitHub runs Vale checks on pull requests that include documentation changes. The action reports any style issues found in modified lines in the form of a sticky comment.
![Vale comment in pull request](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/images/vale-sticky-comment.png)

Issues are reported in the form of errors, warnings, and suggestions. You can expand each category to browse the specific issues. The report updates every time you commit changes.
<important>
  Make an effort to fix all warnings and suggestions reported by the Vale linter. This helps ensure your docs read well and are easier to understand.
</important>


## Use the Vale linter locally

You can use the Vale linter locally to check for style issues while writing documentation.
<stepper>
  <step title="Install Vale and the Elastic style">
    Run these commands to install the Elastic style guide locally. If Vale isn't installed, the commands install it for you or suggest how to do it.
    <tab-set>
      <tab-item title="macOS">
        ```bash
        curl -fsSL https://raw.githubusercontent.com/elastic/vale-rules/main/install-macos.sh | bash
        ```
      </tab-item>

      <tab-item title="Linux">
        ```bash
        curl -fsSL https://raw.githubusercontent.com/elastic/vale-rules/main/install-linux.sh | bash
        ```
      </tab-item>

      <tab-item title="Windows">
        ```powershell
        Invoke-WebRequest -Uri https://raw.githubusercontent.com/elastic/vale-rules/main/install-windows.ps1 -OutFile install-windows.ps1
        powershell -ExecutionPolicy Bypass -File .\install-windows.ps1
        ```
      </tab-item>
    </tab-set>

    <tip>
      To update the Elastic style guide to the latest rules, rerun the installation script.
    </tip>
  </step>

  <step title="Install the IDE extension">
    Install the [Vale VSCode](https://marketplace.visualstudio.com/items?itemName=ChrisChinchilla.vale-vscode) extension. The extension is also available for other editors that support the Open VSX Registry, like Cursor.
  </step>

  <step title="Open any Markdown file">
    The extension automatically runs Vale checks when you save a document. Issues are reported both in the Problems tab and in the editor itself.
    ![Vale comment in pull request](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/images/vale-ide.png)
  </step>
</stepper>


## Style rules reference

The following table lists all the rules included in the [Elastic Vale style package](https://github.com/elastic/vale-rules/tree/main/styles/Elastic):

| Rule                                                                                                                             | Description                                                                                                                                                                                                                                                                                       |
|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Accessibility](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Accessibility.yml)Accessibility                   | Flags ableist language that defines people by their disability. Refer to [Avoid violent, offensive, ableist terminology](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#avoid-violent-offensive-ableist-terminology)Avoid violent, offensive, ableist terminology.     |
| [Acronyms](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Acronyms.yml)Acronyms                                  | Checks that acronyms are defined before being used (unless they're common exceptions). Refer to [Abbreviations and acronyms](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#abbreviations-and-acronyms)Abbreviations and acronyms.                                  |
| [Articles](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Articles.yml)Articles                                  | Ensures correct article usage ("a" vs "an") based on pronunciation, not spelling. Refer to [Using the right article](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#using-the-right-article)Using the right article.                                                |
| [BritishSpellings](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/BritishSpellings.yml)BritishSpellings          | Suggests American English spellings instead of British English variants. Refer to [American English](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#american-english)American English.                                                                              |
| [Capitalization](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Capitalization.yml)Capitalization                | Checks that headings use sentence-style capitalization. Refer to [Capitalization](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#capitalization)Capitalization.                                                                                                     |
| [ConflictMarkers](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/ConflictMarkers.yml)ConflictMarkers             | Detects Git merge conflict markers in source code.                                                                                                                                                                                                                                                |
| [DeviceAgnosticism](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/DeviceAgnosticism.yml)DeviceAgnosticism       | Suggests device-agnostic language (for example, "select" instead of "tap"). Refer to [Use device-agnostic language](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#accessibility-guidelines)Use device-agnostic language.                                              |
| [Dimensions](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Dimensions.yml)Dimensions                            | Suggests using "MxN" format instead of "M X N" for dimensions. Refer to [Dimensions](/elastic/docs-content/pull/4236/contribute-docs/style-guide/formatting#dimensions)Dimensions.                                                                                                                |
| [DontUse](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/DontUse.yml)DontUse                                     | Flags words and phrases that shouldn't be used (for example, "please", "just", "aka"). Refer to [Word choice](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/style-guide/word-choice)Word choice.                                                             |
| [Ellipses](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Ellipses.yml)Ellipses                                  | Discourages the use of ellipses. Refer to [Write like a minimalist](/elastic/docs-content/pull/4236/contribute-docs/style-guide/voice-tone#write-like-a-minimalist)Write like a minimalist.                                                                                                       |
| [EmDashes](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/EmDashes.yml)EmDashes                                  | Checks that em dashes don't have spaces before or after. Refer to [Em dashes](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#em-dashes)Em dashes.                                                                                                                   |
| [EndPuntuaction](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/EndPuntuaction.yml)EndPuntuaction                | Flags headings that end with punctuation. Refer to [Capitalization](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#capitalization)Capitalization.                                                                                                                   |
| [Exclamation](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Exclamation.yml)Exclamation                         | Encourages sparing use of exclamation points. Refer to [Tone](/elastic/docs-content/pull/4236/contribute-docs/style-guide/voice-tone#tone)Tone.                                                                                                                                                   |
| [FirstPerson](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/FirstPerson.yml)FirstPerson                         | Discourages first-person pronouns (I, me, my, mine). Refer to [Use singular first-person pronouns sparingly](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#use-singular-first-person-pronouns-sparingly-i-me-my-mine)Use singular first-person pronouns sparingly. |
| [FutureTense](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/FutureTense.yml)FutureTense                         | Encourages writing in present tense instead of future tense. Refer to [Verb tense](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#verb-tense)Verb tense.                                                                                                            |
| [Gender](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Gender.yml)Gender                                        | Flags gender-specific compound pronouns like "he/she" or "s/he". Refer to [Use gender-neutral language](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#use-gender-neutral-language)Use gender-neutral language.                                                        |
| [GenderBias](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/GenderBias.yml)GenderBias                            | Suggests gender-neutral alternatives for gendered terms. Refer to [Use gender-neutral language](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#use-gender-neutral-language)Use gender-neutral language.                                                                |
| [HeadingColons](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/HeadingColons.yml)HeadingColons                   | Checks that text after colons in headings is capitalized. Refer to [Colons](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#colons)Colons.                                                                                                                           |
| [Latinisms](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Latinisms.yml)Latinisms                               | Suggests plain English alternatives to Latin terms (for example, "for example" instead of "e.g."). Refer to [Latin abbreviations](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#latin-abbreviations)Latin abbreviations.                                           |
| [MeaningfulCTAs](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/MeaningfulCTAs.yml)MeaningfulCTAs                | Flags non-descriptive link text like "click here". Refer to [Use meaningful link text](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#accessibility-guidelines)Use meaningful link text.                                                                               |
| [Negations](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Negations.yml)Negations                               | Suggests rephrasing negative constructions to positive ones. Refer to [Write for an international audience](/elastic/docs-content/pull/4236/contribute-docs/style-guide/accessibility#write-for-an-international-audience)Write for an international audience.                                    |
| [OxfordComma](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/OxfordComma.yml)OxfordComma                         | Enforces the use of the Oxford comma in lists. Refer to [Commas](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#commas)Commas.                                                                                                                                      |
| [PluralAbbreviations](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/PluralAbbreviations.yml)PluralAbbreviations | Flags apostrophes in plural abbreviations (use "APIs" instead of "API's"). Refer to [Making abbreviations plural](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#making-abbreviations-plural)Making abbreviations plural.                                           |
| [QuotesPunctuation](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/QuotesPunctuation.yml)QuotesPunctuation       | Ensures punctuation is placed outside quotation marks. Refer to [Punctuation](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#punctuation)Punctuation.                                                                                                               |
| [Repetition](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Repetition.yml)Repetition                            | Detects repeated words. Refer to [Write like a minimalist](/elastic/docs-content/pull/4236/contribute-docs/style-guide/voice-tone#write-like-a-minimalist)Write like a minimalist.                                                                                                                |
| [Semicolons](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Semicolons.yml)Semicolons                            | Encourages judicious use of semicolons. Refer to [Semicolons](/elastic/docs-content/pull/4236/contribute-docs/style-guide/grammar-spelling#semicolons)Semicolons.                                                                                                                                 |
| [Versions](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Versions.yml)Versions                                  | Suggests "later" or "earlier" instead of "newer", "older", "higher", or "lower" for versions.                                                                                                                                                                                                     |
| [WordChoice](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/WordChoice.yml)WordChoice                            | Suggests preferred word choices (for example, "stop" instead of "abort", "allowlist" instead of "whitelist"). Refer to [Word choice](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/contribute-docs/style-guide/word-choice)Word choice.                                      |
| [Wordiness](https://github.com/elastic/vale-rules/blob/main/styles/Elastic/Wordiness.yml)Wordiness                               | Suggests concise alternatives to wordy phrases. Refer to [Write like a minimalist](/elastic/docs-content/pull/4236/contribute-docs/style-guide/voice-tone#write-like-a-minimalist)Write like a minimalist.                                                                                        |


## Vocabularies

The Elastic Vale style uses [Vale vocabularies](https://vale.sh/docs/keys/vocab) to recognize product and feature names. Vocabularies help Vale avoid false positives when checking capitalization and spelling rules.
The Elastic style includes these vocabularies:
- [**ElasticTerms**](https://github.com/elastic/vale-rules/blob/main/styles/config/vocabularies/ElasticTerms/accept.txt): Contains Elastic product and feature names (for example, Elasticsearch, Kibana, Elastic Agent).
- [**ThirdPartyProducts**](https://github.com/elastic/vale-rules/blob/main/styles/config/vocabularies/ThirdPartyProducts/accept.txt): Contains non-Elastic product names (for example, Kubernetes, AWS, Docker).

<tip>
  If Vale incorrectly flags a product or feature name, suggest adding it to the appropriate vocabulary by creating a pull request or issue in the [Elastic Vale rules repository](https://github.com/elastic/vale-rules).
</tip>


## Report issues or suggest improvements

You can report issues or suggest improvements to the Elastic style guide by creating an issue in the [Elastic Vale rules repository](https://github.com/elastic/vale-rules/issues).

## Additional resources

- [Vale's official documentation](https://vale.sh/docs/vale-cli/overview/)
- [Elastic Vale rules repository](https://github.com/elastic/vale-rules)