Skip to content

vue/component-name-in-template-casing ignores should allow wildcards #721

Closed
@ffxsam

Description

@ffxsam

Currently, the vue/component-name-in-template-casing rule has an ignores parameter to allow specific component names to bypass whatever rule the developer has set. It would be even more useful to allow wildcards, so we could avoid applying Pascal case to third party UI libraries, e.g.:

    'vue/component-name-in-template-casing': [
      'error',
      'PascalCase',
      {
        ignores: ['el-*'],
      },
    ],

So when using Element UI's components (e.g. <el-button>), those will no longer be shown as errors if they're not in Pascal case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions