Note

This is a documentation for version 7.0.0-alpha.9.
To check version 6.2.2 go here. To check previous releases go here.

# vue/no-deprecated-filter

disallow using deprecated filters syntax (in Vue.js 3.0.0+)

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/vue3-strongly-recommended" and "plugin:vue/vue3-recommended".

# 📖 Rule Details

This rule reports deprecated filters syntax (removed in Vue.js v3.0.0+)

<template> <!-- ✓ GOOD --> {{ filter(msg) }} {{ filter(msg, '€') }} {{ filterB(filterA(msg)) }} <div v-bind:id="filter(msg)"></div> <div v-bind:id="filter(msg, '€')"></div> <div v-bind:id="filterB(filterA(msg))"></div> <!-- ✗ BAD --> {{ msg | filter }} {{ msg | filter('€') }} {{ msg | filterA | filterB }} <div v-bind:id="msg | filter"></div> <div v-bind:id="msg | filter('€')"></div> <div v-bind:id="msg | filterA | filterB"></div> </template>
Now loading...

# 🔧 Options

Nothing.

# 📚 Further Reading

# 🔍 Implementation