2
Vote

Support for the JSHint swindent key?

description

In the following URL, the JSHint team added support for the switch indent option, and I was hoping we could get similar support for this feature in the jsLint for Visual Studio extension? Havign case statements indented from their parent switch is a whole lot easier to read.

https://github.com/jshint/jshint/pull/600

Thanks,
Keith

An example of a switch case that currently gets indent errors:
switch (me.options.type()) {
    case me.Types.radio:
        result = me.Types.radio;
        break;
    case me.Types.checkbox:
        result = me.Types.checkbox;
        break;
    case me.Types.button:
        result = me.Types.button;
        break;
}

comments