Skip to content

Wrong rule on options example of vue/no-potential-component-option-typo rule #1307

Closed
@rarysson

Description

@rarysson

Hi, I'm not sure if it's right or wrong, but when I was reading vue/no-potential-component-option-typo, I saw that on the beginning the example of config was:

{
  "vue/no-potential-component-option-typo": ["error", {
    "presets": ["all"],
    "custom": ["test"]
  }]
}

but after reading it, when I came to the options part, the example was:

{
  "vue/no-unsed-vars": ["error", {
    "presets": ["vue"],
    "custom": [],
    "threshold": 1
  }]
}

The "vue/no-unsed-vars" over "vue/no-potential-component-option-typo" was intended?

Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have read the FAQ and my problem is not listed.

What did you expect to happen?

I was expecting to see "vue/no-potential-component-option-typo" as the rule and not "vue/no-unsed-vars".

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