StylesPath = styles

MinAlertLevel = warning

Packages = Google

[*]
BasedOnStyles = Vale, Google, CustomStyles

Vale.Spelling = NO
Google.Will = NO
Google.Quotes = NO
Google.OptionalPlurals = NO

# All of the following would be helpful in some cases but get really noisy
Google.Exclamation = NO
Google.Headings = NO
Google.We = NO

[formats]
mdx = md

# Tell vale to ignore MDX's JSX-specific syntax
# None of the following seems to matter, appears to be a bug with mdx and vale
# See https://github.com/errata-ai/vale/issues/858

# IgnoredScopes = code, tt, img, url, a
# SkippedScopes = script, style, pre, figure, code
# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs, and angle brackets.
# TokenIgnores = (<\/?[A-Z].+>), (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[)

# To execute vale on the command line, use the following command:
# vale --glob='!{*.mdx,*.js,*.json,*.png,*.jpg,*.css,*.yml,*.svg,3.0/api-ref/*.md}' ./3.0
