Skip to content

vue/no-restricted-syntax ​

Disallow specified syntax in <template>

This rule is the same rule as core no-restricted-syntax rule but it applies to the expressions in <template>.

🔧 Options ​

Please see no-restricted-syntax for detailed options.

You can include the AST created by vue-eslint-parser in the selector. To know more about certain nodes in produced AST, please go vue-eslint-parser - AST docs.

"VElement > VExpressionContainer CallExpression" ​

Forbids call expressions inside mustache interpolation.

Now loading...

📚 Further Reading ​

🚀 Version ​

This rule was introduced in eslint-plugin-vue v5.2.0

🔍 Implementation ​

Taken with ❤️ from ESLint core