Skip to content

some configurable way to enable vue/no-undef-components #39

@brc-dd

Description

@brc-dd

Currently using this in some projects:

    'vue/no-undef-components': ['warn', {
      ignorePatterns: [
        'Router(?:View|Link)', // TODO: add nuxt builtins too
        // sefirot builtins - (fundamental mixin, needs update when some new global component is added in sefirot):
        'S(?:Card(?:Block)?|Content|Control(?:ActionBar(?:Button|Close|Collapse)?|ActionMenu|Button|Center|InputSearch|Left|Pagination|Right|Text)?|Desc(?:Avatar|Day|Empty|File|Item|Label|Link|Number|Pill|State|Text)?|Divider|Doc(?:Section)?|Grid(?:Item)?|Head(?:Lead|Title)?|Link|Modal|Trans)',
        // allow specifying additional global components somehow and concat with this array
      ]
    }],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions