# This style suggests alternatives where the case on the right side of the swap is strict.

# Use this style to suggest alternatives where the case on the right side is always required.
# For example, use this style to always require "Amazon Web Services" and never "Amazon web services".

# For most single words, try using the Buildkite.spelling ignore list first.

# On the left side of the swap, use the case-insensitive modifier group `(?i:)` to capture any case.
# Or use a regular string to capture a specific, frequent case error (e.g., Bell Hooks → bell hooks).

extends: substitution
message: Consider using '%s' instead of '%s'
level: error
ignorecase: false
# swap maps tokens in form of bad: good
swap:
  (?:AWS Lambda): AWS Lambda
  (?<!-)(?i:BitBucket): Bitbucket  # (?<!-) ignores bitbucket with a preceding dash, as in `buildkite-bitbucket-aws-terraform`
  (?i:Bitbucket Server): Bitbucket Server
  (?i:CloudWatch) logs: CloudWatch Logs
  (?i:Google Cloud Functions): Google Cloud Functions
  (?i:GraphQL): GraphQL
  (?i:IronWorker): IronWorker

# This style suggests alternatives where the case on the right side of the swap is strict.

# Use this style to suggest alternatives where the case on the right side is always required.
# For example, use this style to always require "Amazon Web Services" and never "Amazon web services".

# For most single words, try using the Buildkite.spelling ignore list first.

# On the left side of the swap, use the case-insensitive modifier group `(?i:)` to capture any case.
# Or use a regular string to capture a specific, frequent case error (e.g., Bell Hooks → bell hooks).

extends: substitution
message: Consider using '%s' instead of '%s'
level: error
ignorecase: false
# swap maps tokens in form of bad: good
swap:
  (?i:AWS Lambda): AWS Lambda
  (?<!-)(?i:BitBucket): Bitbucket  # (?<!-) ignores bitbucket with a preceding dash, as in `buildkite-bitbucket-aws-terraform`
  (?i:Bitbucket Server): Bitbucket Server
  (?i:CloudWatch) logs: CloudWatch Logs
  (?i:Google Cloud Functions): Google Cloud Functions
  (?i:GraphQL): GraphQL
  (?i:IronWorker): IronWorker

Fix "AWS Lambda" case detection
Fix "AWS Lambda" case detection
