Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add an option tov-slot-style to enforce even shorter syntax for default slot #2977

Open
@andreww2012

Description

@andreww2012

What rule do you want to change?

v-slot-style

Does this change cause the rule to produce more or fewer warnings?

Depends

How will the change be implemented? (New option, new default behavior, etc.)?

Add a new style, sayshortest, which would act the same asshorthand for non-default slots and additionally suggest using# instead of#default (see an example below).

Please provide some example code that this change will affect:

It is possible to use an even shorter syntax ofv-slot with the default slot: simply# (withoutdefault word) (playground):

<Comp#="{foo}">...</Comp><Comp><template#="{foo}">...</template></Comp>

What does the rule currently do for this code?

Currently, it seems like# attributes are ignored by this rule completely.

What will the rule do after it's changed?

# attributes will be recognized and reported if they don't satisfy the enforced style.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp