Skip to content

Stop using enum for metric units - #121

Merged
Dynatrace-James-Kitson merged 1 commit into
dynatrace-oss:mainfrom
Dynatrace-James-Kitson:kitson
Sep 26, 2025
Merged

Dynatrace-James-Kitson merged 1 commit into
dynatrace-oss:mainfrom
Dynatrace-James-Kitson:kitson

Stop using enum for metric units

d711edf
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
In Solidarity / Inclusive Language succeeded Sep 26, 2025 in 2s

Check completed with success

Configuration

Below is the configuration used for this check run:

rules:
  master:
    regex:
      - /master/gi
    level: warning
    alternatives:
      - primary
      - main
      - leader
      - active
      - writer
  slave:
    regex:
      - /slave/gi
    level: warning
    alternatives:
      - secondary
      - node
      - worker
      - replica
      - passive
  whitelist:
    regex:
      - /white[_-]*list/gi
    level: warning
    alternatives:
      - include list
      - allow list
  blacklist:
    regex:
      - /black[_-]*list/gi
    level: warning
    alternatives:
      - exclude list
      - deny list
  grandfathered:
    regex:
      - /grandfathered/gi
    level: 'off'
    alternatives:
      - legacied
      - exempted
  sanity_check:
    regex:
      - /sanity[_-]*check/gi
    level: 'off'
    alternatives:
      - smoke test
      - confidence check
  man_hours:
    regex:
      - /man[_-]*hours/gi
    level: 'off'
    alternatives:
      - person-hours
      - human-hours
  solidarityTest:
    regex:
      - /solidarityTest/gi
    level: warning
    alternatives:
      - solidaryWorks
ignore:
  - .github/in-solidarity.yml
defaultMessage: >

  Please consider an alternative to `{{match}}`. 

  {{#if alternatives~}}


  Possibilities include: {{#each alternatives}}{{#if @index}},
  {{/if}}`{{this}}`{{/each}}

  {{~/if}}

For more information on configuration and rules, check the documentation.

App version