no-mixed-spaces-and-tabs
eslint
No autofix
eslint.config.js
export default [
{
rules: {
"no-mixed-spaces-and-tabs": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
function add(x, y) {
return x + y;
}
function main() {
var x = 5,
y = 7;
}function add(x, y) {
return x + y;
}Examples from the ESLint documentation.
no-mixed-spaces-and-tabs
eslint
export default [
{
rules: {
"no-mixed-spaces-and-tabs": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce the use of variables within the scope they are defined
Disallow the use of alert, confirm, and prompt
Require for-in loops to include an if statement