no-tabs
eslint
No autofix
eslint.config.js
export default [
{
rules: {
"no-tabs": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
var a = 2;
/**
* it's a test function
*/
function test(){}
var x = 1; // testvar a = 2;
/**
* it's a test function
*/
function test(){}
var x = 1; // testExamples from the ESLint documentation.
no-tabs
eslint
export default [
{
rules: {
"no-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
Require for-in loops to include an if statement
Disallow the use of alert, confirm, and prompt