Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Bug in switch indentation #693

Closed
ichernev opened this issue Oct 17, 2014 · 1 comment
Closed

Bug in switch indentation #693

ichernev opened this issue Oct 17, 2014 · 1 comment

Comments

@ichernev
Copy link
Contributor

javascript file:

// m.js
var x = function () {
    switch (x) {
        case 1:
            if (foo) {
                return 5;
            }
    }
}

config:

{
    "validateIndentation": 4
}
$ jscs --version
1.7.2
$ jscs -c .jscs.json2 m.js -r inline
m.js: line 7, col 16, Expected indentation of 16 characters
m.js: line 8, col 12, Expected indentation of 12 characters
m.js: line 9, col 8, Expected indentation of 8 characters
@ichernev
Copy link
Contributor Author

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant