Skip to content

[Feature] Allow wildcards for icon filenamesΒ #592

@npearson72

Description

@npearson72

Is your feature request related to a problem? Please describe.
There are times when I would like to define an icon for a matching wildcard filename. For example, I have different eslint config files, ex:

  • eslint-base.conf.mjs
  • eslint-react.conf.mjs
  • eslint-node.conf.mjs

Today, in order to use an eslint icon for each of these files, I would need to do:

    "filenames": {
      "eslint-base.config.mjs": "eslint",
      "eslint-react.config.mjs": "eslint",
      "eslint-node.config.mjs": "eslint",
   }

What I would like to do is:

    "filenames": {
      "eslint-*.config.mjs": "eslint"
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions