vue/no-console
eslint-plugin-vue
Suggestion
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/no-console": "error",
},
},
];console.error('hello world')The documentation shows no correct example for this rule.
Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
vue/no-console
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/no-console": "error",
},
},
];Oxlint does not have this rule.
suspicious/noConsole
suspicious · since 1.6.0
{
"linter": {
"rules": {
"suspicious": {
"noConsole": "error"
}
}
}
}Require component name property to match its file name
Disallow constant expressions in conditions in <template>
Disallow usage of button without an explicit type attribute