Skip to content

Add support for the strategy parameter in the component-name-unique rule #2898

Description

@kanoru3101

Is your feature request related to a problem? Please describe.
For bundle was added --component-names-strategy flag that allows create components name by title.
component-name-unique rule doesn't know anything about the title strategy.

Describe the solution you'd like
Need to add a strategy option to the settings for component-name-unique rule and add logic that the lint command knows about component-name-unique by title

Example of configuring rule

rules:
  component-name-unique:
    schemas: error
    parameters: off
    responses: warn
    requestBodies: warn
    strategy: basename # or title

Describe alternatives you've considered

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions