nursery/noVueMixin
nursery · since 2.6.5
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noVueMixin": "error"
}
}
}
}<script>
import counterMixin from "./counterMixin";
export default {
mixins: [counterMixin],
};
</script>import { defineComponent } from "vue";
import counterMixin from "./counterMixin";
export default defineComponent({
mixins: [counterMixin],
});<script setup>
import { useCounter } from "./useCounter";
const { count, increment } = useCounter();
</script>Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noVueMixin
nursery · since 2.6.5
{
"linter": {
"rules": {
"nursery": {
"noVueMixin": "error"
}
}
}
}Disallow returning a value from a function with the return type 'void'
Disallow unnecessary String.raw function in template string literals without any escape sequence.
Prefer folder exclusions that prevent Biome from scanning the folder.
Disallow unnecessary escapes in string literals.
Require kind sets instead of comparing kind names one by one in Biome JS plugins.