Skip to content

Sort YAML files recursively with custom order #187

@sherif-fanous

Description

@sherif-fanous

As the title mentions if I define a custom order using any of customSortKeywords_1, customSortKeywords_2, or customSortKeywords_3 and then proceed to use YAML Sort: Recursively sort all files the resulting file is sorted alphabetically without taking into account the ordering defined in any of the 3 customSortKeywords

If that is by design, then it would be really useful to introduce a new configuration opion (e.g. recursiveCustomSortKeywords) to enforce a user defined sort order when sorted all files in a directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions