Skip to content

scorecard-classic does not recognize scorecardClassic config option in Reunite #2582

@romanpryshliak

Description

@romanpryshliak

Describe the bug

Some time ago, the scorecard config option was renamed to scorecardClassic. When using the old name in Reunite and running scorecard-classic, it works correctly.

scorecard:
  levels:
    - name: Baseline
      extends:
        - minimal
        - ./@lint/baseline.yaml
    - name: Silver
      extends:
        - recommended
        - ./@lint/baseline.yaml
Image

However, after renaming it to scorecardClassic, the scorecard-classic command produces an error:

scorecardClassic:
  levels:
    - name: Baseline
      extends:
        - minimal
        - ./@lint/baseline.yaml
    - name: Silver
      extends:
        - recommended
        - ./@lint/baseline.yaml
Image

To Reproduce

  1. Configure the scorecard in Reunite using the scorecard configuration option.
  2. Run the scorecard-classic command and observe that it works correctly.
  3. Rename the configuration option in Reunite to scorecardClassic.
  4. Run the scorecard-classic command again.
  5. Observe that the command throws an error.

Expected behavior

The scorecard-classic command should work correctly when the configuration option in Reunite is named scorecardClassic, the same as it does with the scorecard option.

Redocly version(s)

Redocly CLI: 2.19.0

Node.js version(s)

Node: v24.11.1
NPM: 11.6.2

OS, environment

macOS: 15.7.3 (24G419)

Metadata

Metadata

Labels

Type: BugSomething isn't workingc0

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions