some style guides don't allow the use of tab characters anywhere. So they would want to disallow tab anywhere inside a file including comments.
This rule looks for tabs inside the file. It can abe anywhere inside code or comments or anything.
Examples of incorrect code for this rule:
var a /t= 2;
/**
* /t/t its a test function
*/
function test(){}
var x = 1; // /t test
Examples of correct code for this rule:
var a = 2;
/**
* its a test function
*/
function test(){}
var x = 1; // test
If you have established a standard where having tabs is fine.
- JSCS: disallowTabs