Skip to content

vue/no-undef-properties

disallow undefined properties

📖 Rule Details

This rule warns of using undefined properties.
This rule can help you locate potential errors resulting from misspellings property names, and implicitly added properties.

Note

This rule cannot detect properties defined in other files or components.
Note that there are many false positives if you are using mixins.

Now loading...
Now loading...

🔧 Options

json
{
  "vue/no-undef-properties": ["error", {
    "ignores": ["/^\\$/"]
  }]
}
  • ignores (string[]) ... An array of property names or patterns that have already been defined property, or property to ignore from the check. Default is ["/^\\$/"].

"ignores": ["/^\\$/"] (default)

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-vue v7.20.0

🔍 Implementation