Appearance
vue/no-deprecated-scope-attribute
禁止弃用的
scope
属性(在 Vue.js 2.5.0+ 中)
- ⚙️ 此规则包含在
"plugin:vue/essential"
、*.configs["flat/essential"]
、"plugin:vue/strongly-recommended"
、*.configs["flat/strongly-recommended"]
、"plugin:vue/recommended"
和*.configs["flat/recommended"]
中。
🔧命令行 上的
--fix
选项可以自动修复此规则报告的一些问题。¥🔧 The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
📖 规则详情
此规则报告 Vue.js v2.5.0+ 中已弃用的 scope
属性。
¥This rule reports deprecated scope
attribute in Vue.js v2.5.0+.
📚扩展阅读
¥📚 Further Reading
🚀版本
¥🚀 Version
此规则在 eslint-plugin-vue v6.0.0 中引入
¥This rule was introduced in eslint-plugin-vue v6.0.0
🔍代码实现
¥🔍 Implementation