# san/no-reserved-keys
disallow overwriting reserved keys
- ⚙️ This rule is included in all of
"plugin:san/essential"
,"plugin:san/strongly-recommended"
and"plugin:san/recommended"
.
# 📖 Rule Details
This rule prevents to use reserved names (opens new window) to avoid conflicts and unexpected behavior.
<script>
/* ✗ BAD */
export default {
dataTypes: {
el: DataTypes.string
},
computed: {
fire() {
return 3;
}
},
nextTick () {}
}
</script>
# 🔧 Options
Nothing.